• JSX
  • State
  • Hooks
States in Functional Components

States - Details about Component

State is an inbuilt object of React which stores data/information about the component. State of the component can change over time. Change in state of the component causes re-rendering of the component. This change of State is Asynchronous.

Enter a Name and Duration in Seconds for which you want to display a Message.

Enter Details of the Message