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

allow template strings for attributes in jsx #2845

Closed
monsanto opened this issue Jan 12, 2015 · 2 comments
Closed

allow template strings for attributes in jsx #2845

monsanto opened this issue Jan 12, 2015 · 2 comments

Comments

@monsanto
Copy link
Contributor

It'd be cool if <div className=myClass ${class1} ${class2} /> worked, instead of having to wrap the template string with {}.

@zpao
Copy link
Member

zpao commented Jan 13, 2015

Can you propose this in https://github.com/facebook/jsx/? The backtick is not a part of the spec we wrote there so we can't even implement it until it's there. Let's revisit this then.

@zpao zpao closed this as completed Jan 13, 2015
@monsanto
Copy link
Contributor Author

done facebook/jsx#25

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

No branches or pull requests

2 participants