Skip to content

Commit

Permalink
[Fiber] Call life-cycles with a react-stack-bottom-frame stack frame (f…
Browse files Browse the repository at this point in the history
…acebook#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.
  • Loading branch information
felixshiftellecon committed Jul 24, 2024
1 parent da4abf0 commit 6996fb3
Showing 1 changed file with 271 additions and 255 deletions.
Loading

0 comments on commit 6996fb3

Please sign in to comment.