dillon1000/react

Commit

[Flight] Try/Catch Eval (#29671)

Follow up to https://github.com/facebook/react/pull/29632.

It's possible for `eval` to throw such as if we're in a CSP environment.
This is non-essential debug information. We can still proceed to create
a fake stack entry. It'll still have the right name. It just won't have
the right line/col number nor source url/source map. It might also be
ignored listed since it's inside Flight.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-client/src/ReactFlightClient.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…