Skip to content

Glossary: React Basics

Declarative

Also written: declarative code

Code that describes what the screen should look like for the current data, leaving React to update the page. This is the opposite of imperative code.

Where the book teaches it

Related terms

ImperativeReact