store icon indicating copy to clipboard operation
store copied to clipboard

Docs: remove/update FSA package recommendation?

Open ghost opened this issue 8 years ago • 5 comments

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

ghost avatar Aug 25 '17 18:08 ghost

Thanks for pointing out that FSA no longer exports Action - will try and update the docs soon to reflect this.

e-schultz avatar Sep 07 '17 12:09 e-schultz

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.

ghost avatar Sep 07 '17 14:09 ghost

@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

aminpaks avatar Oct 14 '17 20:10 aminpaks

I end up just using AnyAction, which seems too open, but Action seems too limited.

ghost avatar Oct 26 '17 17:10 ghost

@KSuttle-cng Did you try my solution?

aminpaks avatar Oct 26 '17 17:10 aminpaks