State, zaman içinde değişebilen ve UI'ın render edilmesi için bağlı olduğu herhangi bir veridir. State değiştiğinde, UI bunu yansıtmak için güncellenir. Bu, uygulamanızın herhangi bir anda "hafızası"dır.
State örnekleri
✓ 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
