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

Will there be a foo={foo} shorthand in jsx #9696

Closed
otakustay opened this issue May 16, 2017 · 1 comment
Closed

Will there be a foo={foo} shorthand in jsx #9696

otakustay opened this issue May 16, 2017 · 1 comment

Comments

@otakustay
Copy link
Contributor

otakustay commented May 16, 2017

Do you want to request a feature or report a bug?
I want to request a feature

What is the current behavior?
Currently the only shorthand of jsx props are "boolean as default" and "attributes spread", however when writing jsx there are many cases of foo={foo}, it could be better if there is a shorthand for this syntax, for example, <Component {foo} />

@otakustay
Copy link
Contributor Author

Sorry I didn't realize there is a standalone jsx repo and a jsx 2.0 milestone, will close this

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

1 participant