React js Component Lifecycle Methods

Introduction

React js in short :

React js is a JavaScript library for creating User Interfaces, authored by Facebook and Instagram engineers. React js is all about components. Each component lets you split the User Interface (UI) into independent, reusable pieces and allows you to think about each piece in isolation.

One of the most important features of React js, which makes it stand out, is that it allows you to simply express how your app should look based on your data at any point of time. When data changes, React js automatically handles all the changes in the UI without you having to deal with Document Object Model (DOM). React js uses a fast, in-memory and lightweight representation of DOM called virtual DOM. React js basically uses a very optimized diff algorithm that compares the virtual DOM of the current and previous state.Read More….