Sha256: cc9172dfeba2ed171e62590f32072763f6cf43dc5cee7b632dbe3f07e6c0563e
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
import { combineReducers } from 'redux'; import { HELLO_WORLD2_NAME_UPDATE } from '../constants/helloWorld2Constants'; const name = (state = '', action) => { switch (action.type) { case HELLO_WORLD2_NAME_UPDATE: return action.text; default: return state; } }; const helloWorld2Reducer = combineReducers({ name }); export default helloWorld2Reducer;
Version data entries
3 entries across 3 versions & 1 rubygems