Type: Feature
- Bug
- Enhancement
- Refactor
- Unknown
-
Enhancement
For member expression dependency checks, optimize the check by only checking the last member -
Enhancement
Memoize any non-primitive value used in JSX -
Enhancement
Support memoization of object destructuring -
Enhancement
Unwrap JSX elements into memoizable variables -
Enhancement
Support components with multiple returns -
Enhancement
Support side-effect for dependencies -
Feature
Support transforming hooks -
Enhancement
Support memoization of callbacks declared using function declarations after
-
Enhancement
Skip memoization of useState setter functions -
Enhancement
When unwrapping array and object patterns, optimize the unwrapping by limiting it to component variables -
Enhancement
Support React.createElement calls -
Not neededEnhancement
Hot module reloading improvement utilizing a checksum to invalidate cache -
Feature
Memoize array map items
Make an ESLint enforcing certain rules to maximize efficiency of the React Unforget.
-
Feature
Ensure component functions are not anonymous/unnamed -
Feature
Disallow assignment expressions in JSX expressions
The following are unknowns that need to be researched and tested.
- Assignment expressions in JSX
<div>{(a = 1)} {a}</div>
- is the order of execution guaranteed? - Source maps - is it possible to generate source maps for the transformed code?
-
Hot reloading - how does hot reloading work with the transformed code?It works!