dillon1000/react
Commit
Browse files Perform hasOwnProperty check in Relay Flight (#20220)
We simulate JSON.stringify in this loop so we should do a has own check. Otherwise we'll include things like constructor properties. This will actually make things throw less even when it should.
Changed paths4 files
First-parent comparisonpackages/react-transport-dom-relay/src/ReactFlightDOMRelayServerHostConfig.js ModifiedM packages/react-transport-dom-relay/src/__tests__/ReactFlightDOMRelay-test.internal.js ModifiedM packages/react-transport-native-relay/src/ReactFlightNativeRelayServerHostConfig.js ModifiedM packages/react-transport-native-relay/src/__tests__/ReactFlightNativeRelay-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…