Add content to useContext hook (#2592)
parent
70e557a8c1
commit
64cdfd2ba0
1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||||
|
# useContext Hook |
||||||
|
|
||||||
|
`useContext` hook is used to read and subscribe to context from your component. Context allows a parent component to pass data down the entire component tree below it. |
||||||
|
|
||||||
|
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||||
|
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://beta.reactjs.org/apis/react/useContext'>Using the Context Hook</BadgeLink> |
||||||
|
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=5LrDIWkK_Bc'>Learn useContext in 13 Minutes</BadgeLink> |
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.robinwieruch.de/react-usecontext-hook'>How to useContext in React</BadgeLink> |
Loading…
Reference in new issue