

For example, one component on a video sharing website might be responsible for displaying various meta-data pertaining to a video (date created, owner, number of likes, etc.). Each component should be designed to exist independently of the others and is responsible for handling changes to the data it displays. In React, the UI is broken into many smaller pieces, called components. There are many advantages to using the React library over plain HTML, CSS, and JavaScript including code reusability and efficiency. Put more simply, it allows web programmers to quickly create the parts of a website that users can see and interact with (the front-end). React is a front-end JavaScript library created by Facebook that is used to create intuitive UI experiences. 5.1 Overview: Breaking a UI into Components.3 Understanding the Structure of a React App.
