SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

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.
R
Ruslan Lesiutin committed
91d097b2c588a0977a7a10ed12512dc8a34e3a5b
Parent: 7216c0f
Committed by GitHub <noreply@github.com> on 7/1/2025, 5:06:26 PM