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

Infinity loop in jsx file #62

Open
cevek opened this issue Nov 11, 2020 · 1 comment
Open

Infinity loop in jsx file #62

cevek opened this issue Nov 11, 2020 · 1 comment

Comments

@cevek
Copy link

cevek commented Nov 11, 2020

Simple repro

<span>{a ?? ''}</span>;

/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
@jonschlinkert
Copy link
Owner

jonschlinkert commented Dec 7, 2020

thanks for the heads up, and sorry for the late reply!!! I'll look into this ASAP.

FWIW, technically .jsx is not officially supported yet, but it's reasonable and probably common for ppl to want to use this with react, so I'm marking this as a bug.

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

No branches or pull requests

2 participants