News for hackers. Stuff that matters.
Re:React 15.4 by untog on Wednesday November 16, 2016 @12:52PM (#12969465)
Right, but the point is that React is disciplined for you. You never do any manual HTML manipulation so you don't have to worry about injection issues.
Re:React 15.4 by netcommentator on Wednesday November 16, 2016 @01:22PM (#12969767)
You don't do manual HTML manipulation with this lib either. You can just see your page as being composed of components and replace components in order to update screen.
Re:React 15.4 by untog on Wednesday November 16, 2016 @01:25PM (#12969817)
So, you're still controlling what is updated and when, with the same potential for making mistakes that you'd get in direct DOM manipulation.

React doesn't require you to ever manually replace a component - that's why the two are not comparable.

Re:React 15.4 by netcommentator on Wednesday November 16, 2016 @01:41PM (#12969982)
I am not familiar with the type of mistakes you are talking about. I have used both React and UIBuilder and find them to be comparable. Would you be willing to share an example of the type of mistake that developers frequently make?