Skip to content

Instantly share code, notes, and snippets.

@damnDasha
Created March 11, 2020 01:52
Show Gist options
  • Save damnDasha/aab69c925abf9308253626b3b43e8db1 to your computer and use it in GitHub Desktop.
Save damnDasha/aab69c925abf9308253626b3b43e8db1 to your computer and use it in GitHub Desktop.
creating and reading context
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