ReactJs is an open-source JavaScript library which is developed and maintained by Facebook and Instagram. This library used for large web applications and allows to create reusable UI components. Nowadays, ReactJs is very popular among web developers as a mostly usable in frontend developing. Among the features of ReactJs,

· one-way data flow

· virtual DOM


are highly notable. In React, there two variable components as props and state. Props are used to pass data by its parent component and it’s read only. As state is enabled for written as well, it is used to keep data which can be updated. In React, every component has a life cycle which we can monitor and manipulate during mounting, updating and unmounting.