Glossary term
What is state? Meaning for developers
Data a component remembers between renders; changing it with a setter makes React render the component again.
Learn it properly · React in DepthLesson 1: State and Rendering: What Really Happens When State ChangesState, re-renders, batching, how React compares trees, keys, and the render-then-commit steps, with a traced example.