Files
react/compiler/forget
Joe Savona 2ae3592d29 Fix/review bug repros, mark fixed
I reviewed the test cases we have marked as bugs ("_bug.*") and realized that 
several of them are already fixed — woohoo! Then one wasn't fixed _yet_: our 
type inference loses track of refs if you stash them inside an object/array. But 
that's why I added the ValidateNoRefAccessInRender pass, which i've updated to 
detect and reject these invalid cases. There are now only a few bugs left (more 
fixes coming).
2023-06-04 11:08:54 -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-04 11:08:54 -07:00
2022-12-22 10:23:11 -08:00
2023-06-02 13:06:36 -04:00
2022-11-17 10:31:34 -05:00
2024-03-25 10:39:47 +00:00
2024-03-25 10:39:47 +00:00
2024-03-25 10:39:47 +00:00
2024-03-25 10:39:47 +00:00
2023-06-01 13:23:09 -07:00
2024-03-25 10:39:47 +00: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