Since the additions of React Hooks in React 16.8, functional components allow for side effects and state management. Within state management in React, there are two hooks that can be utilized:
useReducer. This article will guide you on using
useState for state management.
React ships with