Last active
February 24, 2019 10:56
-
-
Save Harshmakadia/f74353749f07c8c6b512991cd262e10a to your computer and use it in GitHub Desktop.
React Create Context
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
import React from 'react' | |
React.createContext({}) // argument is the default starting value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment