Skip to content

Instantly share code, notes, and snippets.

@dhanushkac
Created June 21, 2020 04:26
Show Gist options
  • Select an option

  • Save dhanushkac/c7193692a85dbc955f0898d165b9da5d to your computer and use it in GitHub Desktop.

Select an option

Save dhanushkac/c7193692a85dbc955f0898d165b9da5d to your computer and use it in GitHub Desktop.
const AppContext = React.createContext(defaultValue);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment