dillon1000/react
Commit
Browse files [compiler] Add typing for useContext hook
In the future, we can use this to identify useContext calls. ghstack-source-id: 01d7b0941ccd09f65346eb5431aa53fe361ce5ed Pull Request resolved: https://github.com/facebook/react/pull/30546
Changed paths3 files
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/HIR/Globals.ts ModifiedM compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts ModifiedM compiler/packages/babel-plugin-react-compiler/src/HIR/ObjectShape.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…