mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
15d1dee21653a6f0ba08784d4524fa61bc278dfd
Stacked on #29044. To work with `console.createTask(...).run(...)` we need to be able to run a function in the scope of the task. The main concern with this, other than general performance, is that it might add more stack frames on very deep stacks that hit the stack limit. Such as with the commit phase where we recursively go down the tree. These callbacks aren't really necessary in the recursive part but only in the shallow invocation of the commit phase for each tag. So we could refactor the commit phase so that only the shallow part at each level is covered this way. DiffTrain build for commit https://github.com/facebook/react/commit/b078c810c787cf13d9bd1958f083b4e3a162a720.
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%