Re:Things every React.js beginner should know
by kccqzy on Monday January 25, 2016 @09:47AM
(#10967409)
Nothing prevents you from not putting HTML inside JavaScript when using React. Personally I've found that this JSX approach doesn't integrate with certain editors very well, so I just use raw React.createElement calls. Assign it to a short variable and it really isn't bad at all. I even tried a s-exp syntactical transformer, and it works even better. HTML is basically just s-exp with an ugly syntax, so it feels even more natural doing that.
[ Parent
| on HN ]
There are no comments on this comment yet.