Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use register_correction #3

Open
davesnx opened this issue Sep 30, 2020 · 1 comment
Open

Use register_correction #3

davesnx opened this issue Sep 30, 2020 · 1 comment

Comments

@davesnx
Copy link
Member

davesnx commented Sep 30, 2020

Instead of register_transformation and raise error, use register_correction which suggest the corrected AST to the user. Still not sure how the correction pops up in the editor/console but depending if this is useful would be really benefitial.

In the exhaustive dependencies in useEffect, it should print the expression with the new dependency array and the new useEffect{{number}} fn name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant