dillon1000/react
Commit
Browse files fix: rename bottom stack frame (#33680)
`react-stack-bottom-frame` -> `react_stack_bottom_frame`. This survives `@babel/plugin-transform-function-name`, but now frames will be displayed as `at Object.react_stack_bottom_frame (...)` in V8. Checks that were relying on exact function name match were updated to use either `.indexOf()` or `.includes()` For backwards compatibility, both React DevTools and Flight Client will look for both options. I am not so sure about the latter and if React version is locked.
Changed paths9 files
First-parent comparisonpackages/react-client/src/ReactFlightClient.js ModifiedM packages/react-devtools-shared/src/backend/shared/DevToolsOwnerStack.js ModifiedM packages/react-devtools-shared/src/backend/utils/index.js ModifiedM packages/react-reconciler/src/ReactFiberCallUserSpace.js ModifiedM packages/react-server/src/ReactFizzCallUserSpace.js ModifiedM packages/react-server/src/ReactFlightCallUserSpace.js ModifiedM packages/react-server/src/ReactFlightStackConfigV8.js ModifiedM packages/react/src/jsx/ReactJSXElement.js ModifiedM packages/shared/ReactOwnerStackFrames.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…