Skip to content

khojiakbar63/useContext-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

useContext

The useContext hook in React is used to make data or functions (like a theme, user settings, or a global state) accessible to multiple components without having to pass props down manually at every level. It’s like having a magic portal that lets you share things across your app without the hassle of props drilling.