Question · JavaScript and React course · Module 1: React Basics

Declarative paradigm in React

What does declarative programming mean in React?

Answer options

  • You write code in a single line only
  • You must write detailed instructions for the browser
  • You only use mathematical functions
  • You describe WHAT the UI should look like (the target state), and React takes care of building it
Show the answer

Correct answer:

  • You describe WHAT the UI should look like (the target state), and React takes care of building it