dillon1000/react
Commit
Browse files Type ReactComponentTreeHook (#7504)
For this one, I wanted to type a non-trivial piece of the codebase and ran into the fact that we do not have types for ReactElement nor ReactInstance, so I had to create them. I'll add comments inline
Changed paths3 files
First-parent comparisonsrc/isomorphic/classic/element/ReactElementType.js AddedM src/isomorphic/hooks/ReactComponentTreeHook.js ModifiedA src/renderers/shared/stack/reconciler/ReactInstanceType.js AddedPatch
Files changed
Rendering syntax-highlighted changes…