Sha256: 90eea4d66e54ced41f7dabfcfdee7b172c7422f4edf14c3fe36c08b5322025f7
Contents?: true
Size: 371 Bytes
Versions: 144
Compression:
Stored size: 371 Bytes
Contents
import { combineReducers } from 'redux'; import { HELLO_WORLD_NAME_UPDATE } from '../constants/helloWorldConstants'; const name = (state = '', action) => { switch (action.type) { case HELLO_WORLD_NAME_UPDATE: return action.text; default: return state; } }; const helloWorldReducer = combineReducers({ name }); export default helloWorldReducer;
Version data entries
144 entries across 144 versions & 1 rubygems