Files
react/compiler/forget
Joe Savona 2fb14138d4 [rust] Port EliminateRedundantPhis
This is a nearly 1:1 port of EliminateRedundantPhis to Rust, the algorithm is 
identical and all differences are superficial. There are few things missing (an 
invariant instead of a panic in one place, recursing into function expressions) 
but the Rust version is still going to end up shorter despite keeping all the 
comments.
2023-07-12 14:54:49 +09:00
..
2023-07-12 14:54:49 +09:00
2023-05-02 09:33:19 -07:00
2023-06-02 13:06:36 -04:00
2022-12-22 10:23:11 -08:00
2022-11-17 10:31:34 -05:00
2023-07-12 14:54:49 +09:00
2023-07-12 14:54:49 +09: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

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