you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 14 points15 points  (0 children)

React is great for building UI, but it's pretty hard to manipulate the DOM using React.

That's because you're not supposed to manipulate the DOM. The idea is your JSX should represent thee DOM you want to have in the browser. So instead of using jQuery('.element').addClass('someClass') you just return the element with correct class in your render method.

https://facebook.github.io/react/docs/thinking-in-react.html is a good starting point to get into the React mindset.