store
store copied to clipboard
Docs: remove/update FSA package recommendation?
This package no longer exports { Action } https://github.com/acdlite/flux-standard-action/blob/master/src/index.js
as mentioned in https://github.com/angular-redux/store/blob/master/articles/strongly-typed-reducers.md#consider-using-flux-standard-actions-fsas
Thanks for pointing out that FSA no longer exports Action - will try and update the docs soon to reflect this.
They have { FluxStandardAction } and { FSA } but even then, they don't appear to be consistent, as 3/4 params are required, instead of just type.
@e-schultz Could we use a simpler strategy?
I was recently working on typing the actions properly and ended up writing a package to handle them.
A working example based on @angular-redux/store and redux-observables
I end up just using AnyAction, which seems too open, but Action seems too limited.
@KSuttle-cng Did you try my solution?