influxReducer method

void influxReducer(
  1. dynamic action
)

A wrapper around a pure Redux reducer that keeps the Flux UI up to date with store changes.

Implementation

void influxReducer(dynamic action) {
  if (action is _FluxStoreUpdatedAction) {
    _isReduxInSync = true;
    return;
  }

  this.state = reduxReducer(this.state, action);
  this.trigger();
}