Master useState & useEffect React Hooks API

Daryll Wong
codeburst
Published in
6 min readJul 31, 2020

--

An explanation of the common ways to use useState & useEffect Hooks API

cover photo of react useState & useEffect

As we move towards creating more functional components over class components for cleaner code, we will be using the React Hooks APIs more often. The first few React Hooks that we will use are: useState and useEffect. Hence, it is important that we understand and master them fully, and implement them in our react apps…

--

--