dillon1000/react

Commit

[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.
Browse files
Changed paths2 files
First-parent comparison
A compiler/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 Added
Patch

Files changed

Rendering syntax-highlighted changes…