dillon1000/react
Commit
Browse files [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.
Changed paths2 files
First-parent comparisonpackages/react-server/src/ReactFlightServer.js ModifiedM packages/react-server/src/ReactFlightStackConfigV8.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…