Back to Glossary
FrontendBeginner Friendly

What is State?

Data that a component keeps track of and can change over time

Why It Matters

State is how your app remembers things like what's in a shopping cart or whether a menu is open

Real-World Example

When you add an item to a cart, state tracks the cart contents and updates the display

“Understanding terms like State matters because it helps you have better conversations with developers and make smarter decisions about your software. You do not need to be technical. You just need to know enough to ask the right questions.”

Callum Holt, Founder, 13Labs

Learn More at buildDay Melbourne

Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.