Introduction to React

Let's learn about the React library and how to set up a React application.

React is a library released by Facebook that creates user interfaces with components. For example, if we want to build a storefront module like what we see on Amazon, we can divide it into three parts—the Search Bar, Side Bar, and Product components, as shown below:

Components can also contain other components. For example, in the Product component where a list of products is displayed, we use multiple other product components. Also, in each Product component, we can have a Rating component. The benefit of architecture like this is that it helps us ...