dillon1000/react

Commit

[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.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-server/src/ReactFlightReplyServer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…