Why use a Custom Hook for React Context API instead of useContext (+ TypeScript)

6.9K views

ByteGrad

3 years ago

Why use a Custom Hook for React Context API instead of useContext (+ TypeScript)

Why use a Custom Hook for React Context API instead of useContext (+ TypeScript)