React is popular libarary of javascript used to create Interface. React js is created by Jordan Walke under Facebook. idea behind to create React js was big data driven for Facebok website.
React js is used to create one page based website through reusable UI(user interface). initially React js project was viewd with some doubt due to its convention. in modern time React js is quite popular to make single page based web development.
React js developers community has been grown to a big scale due to its flexiabilty and resusable UI. React js was originally used for facebook social feed
Why should we learn React js ?
We know that React js is created under Facebook to driven big data on facebook for social feed. it means if we want a flexiable website that can driven big data then we should choose React js. React js create virtual DOM before doing any changes to browser DOM.
React js virtual DOM do all neccessary changes before going to manipulate browser DOM its mean React do only changes in browser DOM what we needed through reusable UI. React js is very popular under developer community so through that we can solve any big problems what we will face while developing any React project.
React js is small libaray of javascript through that we can make a single based user interface that will behave like a web app. in modern time we know that popularity of web app is growing very fast so through React js we can easily create web app that will be fast and more flexiable to use that website and will show great user interface
we know that through React we can create web app or app for any plateform like Android or IOS it means we don’t need to learn more more native programming language for many different plateform to make native app. just write once and use everywhere
we know that through React js development speed will be very fast with high scaliablity. React js is used by many big companies like Facebook, twitter, Yahoo, Netflix, microsoft and many more
Hello world programme in React js
import React from 'react';
import ReactDOM from 'react-dom';
class Test extends React.Component {
render() {
return <h1>Hello World!</h1>;
}
}
ReactDOM.render(<Test />, document.getElementById('root'));