Sha256: e141707d35e94142dd71f0ff647625f297deefb78d11ac754b1669817ccafd70

Contents?: true

Size: 386 Bytes

Versions: 7

Compression:

Stored size: 386 Bytes

Contents

/* eslint new-cap: 0 */

import Immutable from 'immutable';

import * as actionTypes from '../constants/<%= module_name %>Constants';

export const $$initialState = Immutable.fromJS({
  
});

export default function <%= module_name %>Reducer($$state = $$initialState, action = null) {
  const { type } = action;

  switch (type) {

    

    default: {
      return $$state;
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ror_generators-0.2.5 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb
ror_generators-0.2.4 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb
ror_generators-0.2.3 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb
ror_generators-0.2.2 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb
ror_generators-0.2.1 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb
ror_generators-0.2.0 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb
ror_generators-0.1.0 lib/generators/ror_generators/templates/client/reducers/Reducer.jsx.erb