Using hooks and sharing data between components using props in reactjs
Using hooks
In React, hooks are functions that allow you to use state and other React features in functional components, instead of having to use class components. There are several built-in hooks, such as useState and useEffect, that can be used to ...
pcodesdev.hashnode.dev3 min read