Understanding Custom React Hooks by Using Them

What are they? and Why and How to use them.

Angad Singh
The Startup
Published in
5 min readMar 22, 2020

--

React 16.8 came with the ability to use hooks in React that gave us the ability to enhance functional components in such a way that they could do anything a class component could do through useState and useEffect hooks. But a slightly overlooked capability was to create your own custom hooks.

Photo by James Pond on Unsplash

--

--

Angad Singh
The Startup

Talking about money, tech and how to make money from tech. https://captainkong.io