mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-07-31 06:20:14 +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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user