What is React?

React is a flexible, efficient, open-source front end javascript library for building user interfaces or UI components. It was developed by facebook back in 2013.

why React?

With react js we can create bits components. Creating a component can be used repeatedly, React js provide reusable component, load fast, external plugin and saves your time and mony on development becoaus it’s component-based.

Components?

Components are some small pieces of code, which we can use many times. They serve the some purpose as javascript functions. There are two types of components, class components and function components

class component Example:

--

--