dillon1000/react
Commit
Browse files [Flight] Unwrap lazy before reading the value (#30938)
This is important if the lazy is at the root of the chunk. I don't have a unit test for it but @gnoff has a repro. It also shouldn't unwrap the last value since that's the one we're referencing. This was already done correctly by @unstubbable in waitForReference so this just aligns with that.
Changed paths1 file
First-parent comparisonpackages/react-client/src/ReactFlightClient.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…