-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
Remove recast and use ast-types directly #349
Conversation
Amazing. Somehow I thought the whole Looking forward to where this goes 😃
Can you share numbers? |
yeah I forgot to include that yesterday: Before:
With PR:
The test file is taken from material ui. I need to find bigger or different (flow) files to test on. Would also be interesting to run this on a big codebase and see the difference. |
I get the hint 😉 |
This removes recast and only uses ast-types directly.
The performance increases significantly, but I haven't tested more different cases.
There are still some cases that do not yet work:
Fixes #237