3 ms·
I'm pretty sure that is discouraged by the docs and the author. Just because a library doesn't pop up a bouncing anthropomorphic paperclip and specifically ASK
by nobleach 7y ago
I'm pretty sure that is discouraged by the docs and the author. Just because a library doesn't pop up a bouncing anthropomorphic paperclip and specifically ASK you, "are you sure you want to store this state globally?", doesn't mean the library is bad. Just think of the brain-dead things the C language allows you to do with malloc! Yet that's not at all C's fault.
- viklove 7y agoIt might not be Redux's fault, but the result of Redux being a popular library is that many projects have all of their state stored globally. This would not be the case if Redux didn't exist. Call me consequentialist, but I think Redux has to share some of the blame.