import {combineReducers} from 'redux';

import addingComponent from './reducers/addingComponent';
import movingComponent from './reducers/moveComponent';
import mode from './reducers/modes';
import mousePos from './reducers/mousePosition';
import hover from './reducers/hover';
import selected from './reducers/selectComponent';
import circuit from './reducers/mainLoop';
import showAddToaster from './reducers/toaster';
import views from './reducers/views';

export default combineReducers({
  mode,
  mousePos,
  showAddToaster,
  views,
  addingComponent,
  movingComponent,
  hover,
  selected,
  circuit
});

import {combineReducers} from 'redux';

import addingComponent from './reducers/addingComponent';
import movingComponent from './reducers/moveComponent';
import mode from './reducers/modes';
import mousePos from './reducers/mousePosition';
import hover from './reducers/hover';
import selected from './reducers/selectComponent';
import circuit from './reducers/mainLoop';
import showAddToaster from './reducers/toaster';
import views from './reducers/views';

export default combineReducers({
  mode,
  mousePos,
  showAddToaster,
  addingComponent,
  movingComponent,
  selected,

  // used to render canvas
  views,
  hover,
  circuit
});

Clarify which part of the state is used for rendering
Clarify which part of the state is used for rendering
