Re:React, JSX and ES6: The Weird Parts
by glifchits on Tuesday August 25, 2015 @10:57AM
(#10116944)
Fully agree. To call lack of conditionals a "limitation of JSX" is also very misleading. JSX is a pretty simple wrapper for Javascript function calls. The fact that you can't put an if statement in your JSX is due to the fact that you can't supply an if statement as an argument to a Javascript function.
[ Parent
| on HN ]