Skip to content

Glossary: React Basics

Imperative

Also written: imperative code

Code that gives the browser each step, such as `querySelector` then `textContent`. If you forget the step that updates the page, it shows old data.

Where the book teaches it

Related terms

Declarative