Comment

Comment by skosch

I'm surprised you dislike Redux simply because it's a form of global state.

Sure, global variables make debugging difficult when you don't know which function changed them where and when and why. But that doesn't happen if you keep your functions pure and only make changes from within reducers – at least that's my experience.

(Boilerplate, yes, Redux adds that. But at least it's all in one place, and not scattered throughout your app.)

parent skosch 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton