Skip to content
BuildExercises

Glossary / State

State: what it means

The data an app is holding right now, such as its list of items and which screen is showing.

How it shows up when you build

  • Keep track of things: The data an app is holding right now, such as its list of items and which screen is showing.

A tip

  • The rule: change state, then call render(). Never edit the screen and the data separately.

Practise it

Build it with an AI tool and check the result in these exercises:

Related terms

Checks, Cross-site scripting, Render function, Section