Update usecontext@D5_O-uElftYGQr_bTU_se.md (#6221)
* Update usecontext@D5_O-uElftYGQr_bTU_se.md * Update usecontext@D5_O-uElftYGQr_bTU_se.md * Update src/data/roadmaps/react/content/usecontext@D5_O-uElftYGQr_bTU_se.md --------- Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>feat/ratings
parent
0f276bf03a
commit
16056db603
1 changed files with 9 additions and 1 deletions
@ -1 +1,9 @@ |
|||||||
# useContext |
# useContext |
||||||
|
|
||||||
|
The `useContext` Hook lets us share data between components without having to pass props down through every level of the component tree. |
||||||
|
This is particularly useful when many components need to access the same data or when components are deeply nested. |
||||||
|
|
||||||
|
Visit the following resources to learn more: |
||||||
|
|
||||||
|
-[@official@Using the useContext](https://react.dev/reference/react/useContext) |
||||||
|
-[@official@Understand the concept of context](https://react.dev/learn/passing-data-deeply-with-context) |
||||||
|
Loading…
Reference in new issue