svelte-store-reduce
Use a reducer with svelte's built-in writable store, similar to React's useReducer
and redux.
Count: {$state.count} state.dispatch(decrement())}>- state.dispatch(increment())}>+
Use a reducer with svelte's built-in writable store, similar to React's useReducer
and redux.
Count: {$state.count} state.dispatch(decrement())}>- state.dispatch(increment())}>+
npm i svelte-store-reduce
5
0.1.1
MIT
4.27 kB
6