Created
October 31, 2017 07:50
-
-
Save neilsarkar/cae5d5dbf142daa94cf5910a029e766e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const initialState = {} | |
export default function(state=initialState, action) { | |
switch(action.type) { | |
$1 | |
default: | |
return state | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment