dillon1000/react
Commit
Browse files [Flight] Never parse "then" functions (#35289)
AFAIK this is not needed to prevent any exploit but we don't really need this. We allow functions on pretty much any other object anyway but never on the "then" property since those would be serialized as Promises by the client anyway.
Changed paths1 file
First-parent comparisonpackages/react-server/src/ReactFlightReplyServer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…