Skip to content

Instantly share code, notes, and snippets.

@gilbox
Created June 13, 2015 08:57
Show Gist options
  • Select an option

  • Save gilbox/04151bdeb623e2f466f6 to your computer and use it in GitHub Desktop.

Select an option

Save gilbox/04151bdeb623e2f466f6 to your computer and use it in GitHub Desktop.
Functional React: subedit
const subedit = (edit, ...path) => transform =>
edit(state => state.updateIn(path, transform));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment