Created
March 11, 2020 01:52
-
-
Save damnDasha/aab69c925abf9308253626b3b43e8db1 to your computer and use it in GitHub Desktop.
creating and reading context
This file contains 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
What situations would be good to use context? | |
If you need to pass a prop down 1 or 2 levels, is context necessary? | |
Can you pass a component instance as a prop to avoid the need for context? | |
Can you write your own components that accept render props? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment