Glossary

The words, without the shrug

Every term the courses use, defined in one line and then in a paragraph. Written to be read out of order.

Clear

Showing 4 of 10 matching “State”

Search params

Frontend

The part of a URL after the question mark.

Key-value pairs carrying page state: filters, queries, sorting. Putting state here makes it shareable, survivable across refreshes, and correct with the back button. Validating it means a hand-edited URL degrades instead of crashing.

See also State, Validation

Server state

Frontend

Data fetched from an API, held in the UI.

Not really your application’s state, but a cache of somebody else’s, which goes stale the moment anyone else changes it. Treating it as local state is what produces "I updated it but the list still shows the old value".

See also State, Cache

State

Frontend

Data that can change.

The real question is never what the state is but where the authoritative copy lives: the server, the URL, component memory, or browser storage. Two copies of the same fact will eventually disagree.

See also Server state, Search params

Stateless

Backend

Each request starts from nothing.

The server remembers nothing about you between requests by default. Memory has to be added deliberately, which is exactly what cookies and sessions are for.

See also HTTP, Session, Serverless