Skip to content

Commit

Permalink
Update usecontext@D5_O-uElftYGQr_bTU_se.md (kamranahmedse#6221)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
GabrielTheDEV and dansholds authored Jul 25, 2024
1 parent 0f276bf commit 16056db
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 16056db

Please sign in to comment.