Skip to content

Commit 619a371

Browse files
[Fiber] Call life-cycles with a react-stack-bottom-frame stack frame (facebook#30429)
Stacked on facebook#30427. Most hooks and such are called inside renders which already have these on the stack but life-cycles that call out on them are useful to cut off too. Typically we don't create JSX in here so they wouldn't be part of owner stacks anyway but they can be apart of plain stacks such as the ones prefixes to console logs or printed by error dialogs. This lets us cut off any React internals below. This should really be possible using just ignore listing too ideally. At this point we should maybe just build a Babel plugin that lets us annotate a function to need to have this name.
1 parent da4abf0 commit 619a371

File tree

1 file changed

+271
-255
lines changed

1 file changed

+271
-255
lines changed

0 commit comments

Comments
 (0)