-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move layerAssets into CacheNodeSeedData (#67436)
Rather than adding a new property to `FlightDataPath` (which is already a bit messy as-is, given all the array index access / slicing), this combines the `layerAssets` value (which are essentially styles and script tags) into the `ReactNode` included as part of `CacheNodeSeedData`. This means that anywhere we render `cache.rsc`, we'll also be rendering the styles/scripts associated, which was the intended behavior by the first PR that was reverted in this stack. `createComponentTree` now only returns the `CacheNodeSeedData` type, simplifying the usage a bit.
- Loading branch information
Showing
6 changed files
with
110 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.