Re:A Primer for Building Single Page Applications with React
by ripter on Tuesday March 24, 2015 @02:14PM
(#9258367)
I have the same feelings. That's why I like projects like http://www.ractivejs.org/ and http://rivetsjs.com/ . They have the productivity benefits without forcing you to use JSX.
[ Parent
| on HN ]
Re:A Primer for Building Single Page Applications with React
by Andir on Tuesday March 24, 2015 @08:31PM
(#9260549)
I wouldn't say I was "forced" to use JSX. I started out building React using only JavaScript notation to build the DOM (React.DOM.div, et al.) because I told myself that XML formatted text doesn't belong in my JavaScript. I then started to use JSX. It's a beautiful thing to get into if you give it more than a cursory glance. For one, readability is incredibly better with JSX and passing data becomes less of a chore.