rsnext/packages
Andrew Clark b017261047
Inline ChildProp (#58519)
I'm working on a refactor to seed the CacheNodes as soon as the Flight
payload is received, rather than lazily during the render phase. This
means we no longer need to pass a child element prop to LayoutRouter via
childProp.

ChildProp includes two fields: a segment and a child element. The child
element is the part that will soon be removed, because we'll instead
always read from the cache nodes.

But even after this refactor, we still need to pass the segment to
LayoutRouter. So as an incremental step, I've inlined both fields into
separate props:

- childProp.current -> initialChildNode. This will be removed in a later
step in favor of reading from the cache nodes. In fact, we already
always read from the cache nodes — childProp is ignored completely once
the cache node is populated, hence the updated name.
- childProp.segment -> childPropSegment. This probably isn't the best
name anymore but I'll leave renaming until later once more of this
refactor has settled.

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-16 12:01:09 +01:00
..
create-next-app v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
eslint-config-next v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
eslint-plugin-next v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
font v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next Inline ChildProp (#58519) 2023-11-16 12:01:09 +01:00
next-bundle-analyzer v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-codemod v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-env v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-mdx v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-plugin-storybook v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-polyfill-module v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-polyfill-nomodule v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
next-swc v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
react-dev-overlay v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
react-refresh-utils v14.0.3-canary.11 2023-11-15 23:22:09 +00:00
third-parties v14.0.3-canary.11 2023-11-15 23:22:09 +00:00