dillon1000/react
Commit
Browse files [Flight] Add context for non null prototype error (#30293)
We already added this for other thrown errors, not just console.errors. There's a production form of this. We just missed adding this context. Mainly the best context is the line number though which comes from owner stacks.
Changed paths4 files
First-parent comparisonpackages/react-client/src/ReactFlightReplyClient.js ModifiedM packages/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…