3 ms·
One of the benefits of React is how is scales, so small examples like this make it seem like it's a lot of complexity. But scale it out to lots of components al
by RubenSandwich 10y ago
One of the benefits of React is how is scales, so small examples like this make it seem like it's a lot of complexity. But scale it out to lots of components all interacting with each other and then the benefits of a pure render function, declarative UI, make sense. I highly suggest going through this example to help see the benefits of React: http://reactfordesigners.com/labs/reactjs-introduction-for-people-who-know-just-enough-jquery-to-get-by/ http://reactfordesigners.com/labs/reactjs-introduction-for-p....