News for hackers. Stuff that matters.
Re:Things every React.js beginner should know by overcast on Monday January 25, 2016 @09:47AM (#10967411)
When I first began delving into reactive client interface frameworks. This was one of my biggest gripes. It looks, and reads like a giant confusing mess. I finally came across http://vuejs.org/ and I haven't looked back. Simple binding syntax to html elements, and powerful enough for most projects without being heavyweight.

I mean it doesn't get any more straightforward than this.

<div id="app"> <p>{{ message }}</p> <input v-model="message"> </div>

new Vue({ el: '#app', data: { message: 'Hello Vue.js!' } })

Re:Things every React.js beginner should know by Raphmedia on Monday January 25, 2016 @11:16AM (#10967971)
Here we use https://www.jsviews.com/ in a similar way by having the templates in .jshtml files and calling them from the .js ... I wouldn't want to put the html directly in my .js files either!
Re:Things every React.js beginner should know by grumblestumble on Monday January 25, 2016 @06:51PM (#10970941)
if there's a meaningful semantic difference between what you just posted and Angular's 1.5 component syntax, I'm missing it.
Re:Things every React.js beginner should know by overcast on Tuesday January 26, 2016 @03:57PM (#10976001)