-
Notifications
You must be signed in to change notification settings - Fork 31
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
Crash on Self Closing JSX Elements #4
Comments
When rewriting them to |
Hi, this is a showstopper for me (100+ self closing tags). |
^^ Same here |
I solved this with a good old regex +manual edits on my migration... Not recommended in general but it did the job for me.... good luck! |
Thanks @crubier ! I ended up using a different npm package, react-js-to-ts, to convert my jsx files, and then ran this one to convert everything else. I wrote a short python script to execute the whole conversion. |
I believe this is fixed now in v0.17.1, but good suggestion on running |
Having a similar (or same?) issue
|
The tool crashes on js files that contains self closing JSX components such as
<div/>
Crash log:
The text was updated successfully, but these errors were encountered: