dillon1000/react
Commit
Browse files Unwrap a reference to a Lazy value (#34535)
If we are referencing a lazy value that isn't explicitly lazy ($L...) it's because we added it around an element that was blocked to be able to defer things inside. However, once that is unblocked we can start unwrap it and just use the inner element instead for any future reference. The race condition is still there since it's a race condition whether we added the wrapper in the first place. This just makes it consistent with unwrapping of the rest of the path.
Changed paths1 file
First-parent comparisonpackages/react-client/src/ReactFlightClient.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…