dillon1000/react
Commit
Browse files [Flight] Warn if this argument is passed to .bind of a Server Reference (#28380)
This won't ever be serialized and is likely just a mistake. This should be covered by the "use server" compiler since it ensures that something that accepts a "this" won't be allowed to compile and if it doesn't accept it, TypeScript should ideally forbid it to be passed. So maybe this is unnecessary.
Changed paths3 files
First-parent comparisonpackages/react-client/src/ReactFlightReplyClient.js ModifiedM packages/react-server-dom-webpack/src/ReactFlightWebpackReferences.js ModifiedM packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMEdge-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…