top | item 34138172

(no title)

gnomewrecker | 3 years 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.

discuss

order

yawnr|3 years ago

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