Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(useStateWithHistory): support callback style setState
Make `useStateWithHistory` support the callback style set state, e.g. `setState(current => current + 1)`.
- Loading branch information