Skip to content

Glossary: Testing Web Apps

State

Also written: useState

Data a React component remembers between renders. `useState` gives the current value and a function that changes it and re-renders the page.

Where the book teaches it

Related terms

Hook (React)Props