Skip to content

Instantly share code, notes, and snippets.

@4nte
Created May 26, 2018 19:24
Show Gist options
  • Save 4nte/644d37a85abcbea4a6f83d7efe3fa4c7 to your computer and use it in GitHub Desktop.
Save 4nte/644d37a85abcbea4a6f83d7efe3fa4c7 to your computer and use it in GitHub Desktop.
const {Provider, Consumer} = React.createContext(defaultValue);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment