dillon1000/react
Commit
Browse files compiler: fix the `hookKind` for `useInsertionEffect` (#30069)
Currently, the `hookKind` for `useInsertionEffect` is set to `useLayoutEffect`. This pull request fixes it by adding a new `hookKind` for `useInsertionEffect`.
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/HIR/Globals.ts ModifiedM compiler/packages/babel-plugin-react-compiler/src/HIR/ObjectShape.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…