DEV Community

Discussion on: Do you need a State Management Library?

Collapse
 
mapleleaf profile image
MapleLeaf

It sounds like you don't need redux 🤔

Collapse
 
victorocna profile image
Victor Ocnarescu

That may be true, but what else? I need something non persistent to store some app state and I believe Redux is just that: a state container

Thread Thread
 
mapleleaf profile image
MapleLeaf

You can put it with the rest of your app state, or send it through another context provider.

Thread Thread
 
victorocna profile image
Victor Ocnarescu

Of course. But I wanted decoupled from my app state because I can reuse this principle for other apps that do not use React. It never actually happened until now but that's what I thought when I decided to use Redux: to keep things completely separated.