react-state-context
react-state-context copied to clipboard
Lightweight state management using React Context
This will allow more useful abstractions to be built with `react-state-context`, and it makes it behave more like redux-thunk, which is a nice bonus.
This will require exporting the underlying Context object. Related: #16
This library supports long-running actions right now. What this means is that you can do something like: ```js const createTodo = setState => newTodo => { setState({ loading: true });...
- [ ] Thunk guide (don't nest `setState` calls! --- Because React State Context is a thin wrapper around Context, many things such as best practices apply to both Context...