Fixes issue https://github.com/jcperez-ch/flaxs/issues/9 by adding a second parameter to allow synchronous dispatching, now we can assure that action invocations and master store changes are synchronized by creating our actions like:
The first parameter of flaxs.createActions is still the object with callback definitions and the second parameter is a boolean (by default true) that flags the actions as asynchronous if true.
Fixes issue https://github.com/jcperez-ch/flaxs/issues/9 by adding a second parameter to allow synchronous dispatching, now we can assure that action invocations and master store changes are synchronized by creating our actions like:
The first parameter of
flaxs.createActions
is still the object with callback definitions and the second parameter is a boolean (by defaulttrue
) that flags the actions as asynchronous if true.