You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have ability to evaluate attribute name. For example:
<Component{attr}="value"/>
Might be transpiled to:
Component({[attr]: "value"});
Yes, this is es6 output because JSX spec extends es6 specs. Transpilers/targets which do not support es6, but only es5 might choose to not support this feature. But for others it might be useful.
Also, E4X support this feature and for me, it's reasonable to have it.
codahk, arrizalamin, jaxxreal, chenzhenxi, elektronik2k5 and 11 moreMaxmaxmaximusGitHub