react-state-context icon indicating copy to clipboard operation
react-state-context copied to clipboard

Lightweight state management using React Context

Results 6 react-state-context issues
Sort by recently updated
recently updated
newest added

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 });...

question

- [ ] 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...

documentation

- [ ] Basic example - [ ] Async action - [ ] Compare with Redux

documentation