React Hooks were introduced at React conf oct, 2018as a way to use state and side effects in React function components. The React Hook APIs provide an alternative to writing class-based components and offer an alternative approach to state management and life cycle method.
Hooks are a new edition in React 16.8 that allows you to use state and other React features, like the lifecycle method without access to the class. (React Hook brings you functional components, Hooks can do the thing once we are able to do with the class such as React local state, effect, and context has now done through useState, useEffect, useContext).
Continue reading “React Hook – What it brings to the development?”