Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

React encourages declarative usage. You declare some data and how it will be rendered in JSX templates, and React does its thing. As a consumer of a library I shouldn't have to care about what goes on under the hood, as long as I know the API and its proper usage.

> Both approaches do. React mutates state too.

Right, but I don't have to concern myself with the stateful system (the DOM). I can delegate that responsibility to React.

As to your other points, I agree that people should put more thought into their selection of tools.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: