Aug 27, 2017 · 1 min read
You may want to check out the ES.next’s do expression. It will allow you to perform if/else statements inside of JSX. Babel (of course) has a transform.
You may want to check out the ES.next’s do expression. It will allow you to perform if/else statements inside of JSX. Babel (of course) has a transform.
Written by