Comment

Comment by julenx

> So, every component in React has state.

In the context of the article, I know the above text is meant to be a simple explanation for newcomers, but in the broader context it's worth noting that having stateful components is not a requirement. Moreover, the lesser state in a component, the better [1].

[1] http://facebook.github.io/react/docs/interactivity-and-dynam...

parent julenx 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton