Facilitates conversion of Flux Standard Action (FSA) to Canonical Composition Action (CCA) and vice-versa.
mapper object that in turn defines two functions:
fromFSAtoCCA. Input is a plan object. Output is a shallow copy of the input with mapped properties.
;let CCActionFSAction;CCAction =name: 'foo'data:foo: 'bar'metadata:baz: 'qux';FSAction = mapper;CCAction = mapper;
middleware object that in turn defines two functions:
fromFSAtoCCA. These functions are designed to work with Redux middleware, specifically, the
Middleware can be used multiple times to convert FSA to CCA.
;;;;;let reducerstatestore;reducer = ;state = Immutable;state =;store =createStorereducer state;;