4 ms·
If you just want to share state use context. Maybe use something like statty or unstated to remove some boilerplate code. Redux is nice if you need more predic
by k__ 8y ago
If you just want to share state use context. Maybe use something like statty or unstated to remove some boilerplate code.
Redux is nice if you need more predictable interactions, for example when you need undo.
- thawab 8y agoContext is great to work with and solves most of our usecases. I also recommend looking into Unstated[0], simple api and easy to implement. [0]https://github.com/jamiebuilds/unstated https://github.com/jamiebuilds/unstated
- shripadk 8y agoI use constate which is very similar to Unstated: https://github.com/diegohaz/constate https://github.com/diegohaz/constate