Files
react/compiler/forget
Joe Savona e41a8d6a1e Validate destructuring assignment to globals
Fixes one more category of bug. For assignment expressions, we validating 
against redeclaring a global variable when the assignment target was an 
identifier, but not when the global was reassigned via destructuring. This PR 
adds a `lowerIdentifierForAssignment()` helper and uses it for assignment of all 
identifier variants, including destructuring.
2023-06-04 11:29:55 -07:00
..
2023-05-02 09:33:19 -07:00
2023-06-02 13:06:36 -04:00
2023-06-02 13:06:36 -04:00
2023-05-11 13:39:58 -06:00
…
2023-06-02 13:06:36 -04:00
…
2023-06-01 13:23:09 -07:00
…
2023-01-19 18:39:14 +00:00
2023-06-01 13:23:09 -07:00

React Forget

React Forget is an experimental Babel plugin to automatically memoize React Hooks and Components.

Development

# tsc --watch
$ yarn dev

# in another terminal window
$ yarn test --watch

Notes

An overview of the implementation can be found in the Architecture Overview.

This transform

Scaffolding

Reference