Jul 22, 2017

Create your first React Js Application

We are going to create first React Js Application. Nowadays React is very popular and booming in the market.

For creating React App. We are using npm and install some frameworks.

So let’s begin by installing react in our environment. We’ll use the create-react-app javascript framework.
 npm install -g create-react-app
Now we can create the project template using above command.
 create-react-app first-app
It will take some time to install all the module related to React.
Once installation complete, go the folder "first-app" and run the command npm start
cd first-app
npm start
It will start the server on 3000 port. Default application will look like this.
Congratulations, your first application is ready.

Now you can do your customization based on your requirement start by editing the file index.html.

Hope you like this simple way to create React application using some frameworks.

For customization, you have to require knowledge React component and other stuff.



No comments:

Post a Comment