Hacker News new | ask | show | jobs
by gnomewrecker 1268 days ago
In my experience most of my state in contexts changes infrequently (auth information, or the “current client” for a dashboard, or whatever), and then local state is sufficient for the rest. The few times I have sufficiently complexity in the “middle” I indeed have been annoyed and had to be careful to avoid over-frequent rerenders.

It’s just rare enough that “prefer contexts” is a good rule. Simpler, easier to understand code, with no Redux nonsense.

1 comments

Redux isn’t nonsense you’re just being dismissive and not taking the time to learn to understand it properly.