Basics of REACT

Introduction
React is open-source frontend JavaScript library that was developed by Jordan Walke of Facebook in 2011. It is used for the building single page application which loads faster than any other webpages programmed with different JavaScript framework or library languages.
Image source : http://codewinds.com/
Why we use React
- Improves the speed of webpage : As this is single page application it increases the speed of the webpage.
- Uses virtual DOM instead of regular DOM : React used virtual DOM instead of regular DOM which increases the performance of the webpage. Virtual DOM notes the changed part in the webpage and changes the components accordingly without changing the whole DOM.
- Reusability of Components : Using React library, programmer can write any code of component and use as many time according to the requirement.
- Clean Code : React uses JSX file or XML file to code the webpage. It looks similar like HTML file and hence easy to read and code.




