-
Notifications
You must be signed in to change notification settings - Fork 47.8k
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
Problem with JSX and ECMAScript3 (IE8) #987
Comments
use <label htmlFor="start">Start</label>
<input id="start" type="date" /> |
We should still allow |
Ideally this wouldn't have anything to do with jsx since jsx only promises es5 (off the top of my head I'm not sure if there are other things that would need to change to make it es3 compat) -- but it does seem reasonable that we have a transform that shims this particular es3-ism for ie8 since that's an issue that seems to pop up often |
I ran into a small problem with the output of the jsx compiler on IE8.
Because IE8 uses ECMAScript3 the reserved words become a problem in the json objects.
Example:
which becomes
to fix this problem, you have to put quotes around the keyword
The text was updated successfully, but these errors were encountered: