2. Define React
A popular JavaScript library called React was introduced in 2011. It was developed by Facebook developers, and its main application is frontend development. React employs the component-based method, which guarantees to assist you in creating components with a high degree of reusability. For creating and designing intricate mobile user interfaces and web applications, React is well known.