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

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.