Chapter 4

React

React is a JavaScript library for building user interfaces.

React makes user interfaces very easy to build because it cut things into pieces, which are called components.

Why should you use React?

  • Fast, scalable, and simple
  • JSX: dynamic markup
  • Reusable UI components with state
  • Change data, without reloading the page

Learning requirements

Before learning React, you should be comfortable with:

  • HTML
  • CSS
  • Javascript (basic Javascript, array methods, promises & asynchronous programming)
  • Fetch API & making HTTP Requests

Dev Environment

  • Node
  • Chrome Browser
  • Text editor: Visual Code Studio
  • React Developer Tool

Extra libraries