UNPKG

reactatouille

Version:

Reactatouille is a command-line tool to help quickly start and build a new React project, using Redux, Webpack, Gulp (You can add your own tasks, yo!), HMR/Hot Module Reload, Sass (architecture best practices), Jest, Enzyme, popmotion, Redux devtools (bro

15 lines (13 loc) 259 B
// about/reducer.js import * as t from './actionTypes' const initialState = { lastUpdated: 0 } export default (state = initialState, action) => { switch (action.type) { case t.REPLAY: return action.payload default: return state } }