This repository has been archived by the owner on Sep 13, 2018. It is now read-only.
Releases: aprilmintacpineda/inferno-context-api-store
Releases · aprilmintacpineda/inferno-context-api-store
A major revamp on action handlers
- action handlers now receive the
getStoreState
function instead of thestore.state
. You should now use it to get the store's state. This ensures that you always get the latest state.
bug fix
- actions dispatched immediately after an update does not receive updated state
enhancement
- defer persist.
updates and new features
- `getStoreState
- deferred updates
should still provide an empty object to persist.statesToPersist when storage is null
used constructor to initial store with persistent states
1.0.14 1.0.14
new features.
- Persistent state.
store.updateStore
optional second argument, callback function.
initial release
- persiting states