React Hooks equivalents on Component Lifecycle
In React 16.8, the Hooks were introduced to reduce the complexity of the components lifecycle. This enables us to create components without visual logic (like React Router, that forces us to render a element).
The useEffect() function runs every tim...
blog.dav1.app2 min read