The state is information hidden inside a component. The component can modify its state, without parents knowing about it. I prefer functional components because they are simple. To enable state management for functional components, you need useState() hook. The guide step by step explains how to work with useState() hook.