Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
Closed
Labels
Description
Currently takes any scope with the reactive definition and replaces with the state hooks
While in the most idea condition, this might not break but we don't live in a idea world. SO CHANGE IT.
Notes
- Check the function declaration / Variable Declaration of the entry module
- Based on the above, check the return statement to be a
React.createElement - If the above satisfies, find all the variables in the current scope and see which passes the variable test
- make the transformations only for them