State என்பது காலத்திற்கு ஏற்ப மாறக்கூடிய எந்தவொரு தரவு மற்றும் UI ஐ வரைய இதன் மீது சார்ந்திருக்கிறது. State மாறும்போது, UI அதை பிரதिபலிக்க புதுப்பிக்கப்படுகிறது. இது உங்கள் பயன்பாட்டின் எந்தவொரு கட்டத்திலான "நினைவு" ஆகும்.
State இன் எடுத்துக்காட்டுகள்
✓ A counter value, a form's input text, a toggle (on/off)
✓ Whether a modal is open, the active tab, loading/error flags
✓ The logged-in user, items in a cart, fetched API data
✓ The current theme (dark/light), selected filters
