I just saw this tweet: https://twitter.com/vslinko/status/619581969903550464
And wondering if there are any downsides or backward incompatibilities to enabling do-expression over any JSX expression container so that if and other statements could be used directly inside of braces? My understanding is that for regular expression do { ... } will preserve compatibility and thus wrapping will just enhance contents to support statements as well.
@vslinko @sebmarkbage @jeffmo @wycats @sebmck
I just saw this tweet: https://twitter.com/vslinko/status/619581969903550464
And wondering if there are any downsides or backward incompatibilities to enabling do-expression over any JSX expression container so that
ifand other statements could be used directly inside of braces? My understanding is that for regular expressiondo { ... }will preserve compatibility and thus wrapping will just enhance contents to support statements as well.@vslinko @sebmarkbage @jeffmo @wycats @sebmck