rsnext/packages
Andrew Clark c2ab5f704a
Rename CacheNode.data → .lazyData (#59473)
`CacheNode.data` is used to lazily kick off a request during render, and
represents the result of the entire Flight response. It doesn't
correspond directly to the RSC data of the cache node itself — that's
`subTreeData`. To complicate things further, I'm about to add another
field to CacheNode that represents prefetched RSC data.

To make it a little less confusing, I've renamed the `data` field to
`lazyData`. Still not perfectly clear on first glance, but it's at least
more specific. With PPR, the goal is to remove the lazy data fetching
mechanism in favor of initiating the request immediately upon
navigation. So this field will eventually go away.

In the next PR, I will rename `subTreeData`, too. Perhaps something with
"rsc" in the name so it's less generic than "data".

Closes NEXT-1843
2023-12-11 11:33:12 -05:00
..
create-next-app v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
eslint-config-next v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
eslint-plugin-next v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
font v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next Rename CacheNode.data → .lazyData (#59473) 2023-12-11 11:33:12 -05:00
next-bundle-analyzer v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-codemod v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-env v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-mdx v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-plugin-storybook v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-polyfill-module v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-polyfill-nomodule v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
next-swc v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
react-dev-overlay v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
react-refresh-utils v14.0.5-canary.6 2023-12-11 16:19:40 +00:00
third-parties v14.0.5-canary.6 2023-12-11 16:19:40 +00:00