dillon1000/react
Commit
Browse files [Flight] Don't warn for key, but error for ref (#19986)
* Improve error message by expanding the object in question * Don't warn for key/ref getters * Error if refs are passed in server components or to client components
Changed paths3 files
First-parent comparisonpackages/react-client/src/__tests__/ReactFlight-test.js ModifiedM packages/react-server/src/ReactFlightServer.js ModifiedM scripts/error-codes/codes.json ModifiedPatch
Files changed
Rendering syntax-highlighted changes…