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

JSX Params check for '{...}' #292

Closed
allenmanning opened this issue Oct 13, 2015 · 1 comment

Comments

@allenmanning
Copy link

commented Oct 13, 2015

One thing for consideration is the common error of putting quotes around jsx params. This seems to be a common source of errors. I can't think of a good reason why you would want to do this, and if you do you could always assign a variable like this

let myString = '{...}'

<element param={myString}/>
@dcousens

This comment has been minimized.

Copy link
Member

commented Oct 13, 2015

I've never seen this, is it really common?
In any case, this would be impossible to detect due to its ambiguity with valid strings.

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.