Skip to main content
InterviewHubPRO
Section Overview
Q9

Question 9 of 407

General

2%
React Core & Hooks (407 Qs)•General

What is state in React?

junior LevelreactGeneral

State of a component is an object that holds some information that may change over the lifetime of the component. The important point is whenever the state object changes, the component re-renders. It is always recommended to make our state as simple as possible and minimi