Repaso
EspaƱol
Frontend & WebFoundationsFE-60

What is React?

Options

  1. A database that is used for web applications
  2. A JavaScript library to build UIs from components (Correct option)
  3. An operating system that runs on web servers
  4. A testing tool that is used for Java projects

Answer

A JavaScript library for building user interfaces from reusable components

Why

React's own website calls it 'the library for web and native user interfaces'.

You build a page from components: pieces of UI with their own logic and appearance. A component can be as small as a button or as large as a whole page.

React components are JavaScript functions that return markup written in JSX, a syntax that looks like HTML.

Remember

React = components for building UIs.

Key terms

Practice this question in Repaso