dillon1000/react

Commit

[Flight] Only assign `_store` in dev mode when creating lazy types (#34354)

Small follow-up to #34350. The `_store` property is now only assigned in
development mode when creating lazy types. It also uses the `validated`
value that was passed to `createElement`, if applicable.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-client/src/ReactFlightClient.js ModifiedM packages/react/src/ReactLazy.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…