4 ms·
> Redux is like a global variable This meme needs to die. You can argue that it's painful and clumsy, but not that it's "like a global variable". The _whole_ p
by williamdclt 6y ago
> Redux is like a global variable
This meme needs to die. You can argue that it's painful and clumsy, but not that it's "like a global variable". The _whole_ point of redux is to offer global state without the problems of global variables. Interacting with the global state through actions, selectors and subscribers prevents the problems of global variables.
Is it clumsy/verbose/confusing/whatever? There's definitely arguments for it. But people stop thinking when they see the word "global" and make terrible arguments against Redux.