Skip to content

Instantly share code, notes, and snippets.

@jurgob
Created March 19, 2016 00:22
Show Gist options
  • Save jurgob/68b1891d752e807ccac1 to your computer and use it in GitHub Desktop.
Save jurgob/68b1891d752e807ccac1 to your computer and use it in GitHub Desktop.
react utils - recucers with utils
const layoutDefState = {
isEditorExpanded: false,
direction:"horizontal"
}
const layout = createBasicReducer(‘LAYOUT’,layoutDefState)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment