Wednesday, 17 February 2021

ReactJS

 

Introduction

·       React is java-script library for building user interface

·       It is not framework

·       React is used to create awesome UI

 

History

·       React was first designed by Jordan walke

·       It was first deployed for facebook’s news feed around 2011

·       In 2013 It was declared as open source

·       It is component based architecture

·       It has huge community on github

Advantages

It gives you the freedom to loose the tools , architecture & libraries for developing an app.

It facilitates the overall process of writing the components.

It boosts productivity and ensure faster rendering

·     

Working with React

 To create new app use : npx create-react-app myreactapp

It will create directory called myreactapp inside current folder

Following is the folder structure of react application


once the installation is done use : cd myreactapp
Now run the application using: npm start
This is how the home page look like





No comments:

Post a Comment