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>
This commit is contained in:
Gabriel Barbosa
2024-07-25 09:12:18 +01:00
committed by GitHub
co-authored by dsh
parent 0f276bf03a
commit 16056db603
@@ -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)