Skip to content

Hello guys.. React.js is the great way to create reusable components. This post will show you how to build the react application from scratch. We are gonna discuss about react.js, it's environment setup, features, advantages and dependencies. We can create react application using Babel, react and react-dom liabraries imported from CDN. But in th…

License

Notifications You must be signed in to change notification settings

dssoft32/reactJS_first_program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Features

JSX - JSX is JavaScript syntax extension. It isn't necessary to use JSX in React development, but it is recommended. Components - React is all about components. You need to think of everything as a component. This will help you to maintain the code when working on larger scale projects.

  1. It re-renders on every update.
  2. It is fast and open source.
  3. React can be used on client as well as server side.

Requirements

  1. Node js Platform
  2. React liabraries(react.js and react-dom.js)
  3. webpack
  4. babel and babel plugins
  5. ES6

Instructions for running the project:

  • After downloading and extracting the zip provided on our post, open terminal/command prompt and go to the folder directory.
  • Now type "npm start" command. Be patient, as webpack bundled takes little time to get packed all files.
  • Once webpack bundled gets completed, the server will run on the port defined in webpack.config.js file.
  • You can change the port whatever you want(in our case, we have set the default port to 3000), if its conflicting with other projects on your system.
  • Now hit the link http://localhost:3000 on browser.
  • Whenever you save any file after changes(in development mode), it will automatically restart the server and reload the browser as because we are running the server with hot deployment.

About

Hello guys.. React.js is the great way to create reusable components. This post will show you how to build the react application from scratch. We are gonna discuss about react.js, it's environment setup, features, advantages and dependencies. We can create react application using Babel, react and react-dom liabraries imported from CDN. But in th…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published