Skip to content

Limit to react component scope #1

Description

@barelyhuman

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

Metadata

Metadata

Assignees

Labels

coreCore features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions