src/js/StateMachine.js
// The state machines are just Redux reducers
The state machines are just Redux reducers
The state machines are just Redux reducers
function StateMachine(state = initialState, action)
{
  return {
    error:               false,
    view:                ViewStateMachine(state.view, action),
    setTime:             TimeStateMachine(state.setTime, action),
    data:                DataStateMachine(state.data, action),
    savedEventsRegister: SavedEventsRegister(state.savedEventsRegister, action)
  }
}
function StateMachine ( state = initialState , action ) { return { error : false , view : ViewStateMachine ( state . view , action ) , setTime : TimeStateMachine ( state . setTime , action ) , data : DataStateMachine ( state . data , action ) , savedEventsRegister : SavedEventsRegister ( state . savedEventsRegister , action ) } }
The state machines are just Redux reducers
The state machines are just Redux reducers