dillon1000/react

Commit

[Flight] Parse Stack Trace from Structured CallSite if available (#33135)

This is first step to include more enclosing line/column in the parsed
data.

We install our own `prepareStackTrace` to collect structured callsite
data and only fall back to parsing the string if it was already
evaluated or if `prepareStackTrace` doesn't work in this environment.

We still mirror the default V8 format for encoding the function name
part. A lot of this is covered by tests already.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-server/src/ReactFlightServer.js ModifiedM packages/react-server/src/ReactFlightStackConfigV8.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…