1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-07-31 22:40:19 +02:00

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 05:12:18 -03:00
committed by GitHub
parent 0f276bf03a
commit 16056db603

View File

@@ -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)