Add getIsAction
and getIsAtom
to public API
Rewrite core, remove domains as unnecessary (now).
flaxom
-> reatom
createAction
-> declareAction
createAtom
-> declareAtom
Core improvements and bugs fixes...
(!) Move to Reatom package (!)
Improve API naming
createReducer
->createAtom
Add warning for production
Update readme
Improve edge-cases for [store] lazy reducers
New API for best static type inference
createReducer(
'name',
initialState,
handle => [
handle(action, (state, payload) => ...)
handle(reducer1, (state, reducer1State) => ...)
],
)
redux-steroid
-> flaxom
- Improve
store.getState()
API (getState without arguments now equalgetStateInternal
) - Add
asId
API for strict declaration of ActionTypes and Ids (useful for snapshots) - Add middleware to store
- Add lazy reducers to createStore
- Rewrite core - improve bundle size and performance
- Add
createStore
- a half compatible redux-like API