From the course: Build Modern Web Apps with React, Hooks, State Management, and APIs Using Vite or Next.js

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

What is React?

What is React?

Hi everyone, welcome to lesson 1 where we start our journey of learning React. We'll discuss about what is React and why we use it. React is developed and maintained by Meta, previously known as Facebook. React is a JavaScript library for building user interfaces. Before React, we used to build UI using HTML and CSS. Then we have to write some JavaScript code to update the DOM and animate the elements. With React coming in, we only need to worry about the JavaScript code and React handles the rest for us. React focuses on the view layer in the MVC design pattern. You must have heard about the Model-View-Controller design pattern where Model handles the data and business logic, View handles the UI and presentation, and controller handles the user input and coordination between model and view. React only focuses on the view layer. It allows you to create user interfaces, integration with the backend API, and presenting data on your frontend. If you are starting React, you need to know…

Contents