-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Syntax error on spread operator in JSX component #562
Comments
Try https://github.com/felipeochoa/rjsx-mode/, it might be the best option for JSX now. |
Unfortunately, for those of us that use tabs for indentation, there is currently no real good solution. I was using If I am looking at switching to simply It would be pretty nice if |
I'm using js2-mode 20200725.112 with emacs 28.0.50 and the setup advised in the README (js-mode with js2-minor-mode)
The following code gets a syntax error on
{...this.props}
This example is from the React blog on Higher Order Components (the second example at that anchor)
The text was updated successfully, but these errors were encountered: