dillon1000/react
Commit
Browse files [test] Failing test for using hooks from React namespace
Forget assumes hooks are imported and used directly without the React namespace and generates incorrect code when if there's a namespace.
Changed paths2 files
First-parent comparisoncompiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/_bug.hooks-with-React-namespace.expect.md AddedA compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/_bug.hooks-with-React-namespace.js AddedPatch
Files changed
Rendering syntax-highlighted changes…