Skip to content

meghasethi/React-States

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

npm start

  • 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.

Topics to be covered :-

  • Access a component's State
  • Update state with this.setState
  • Calling this.setState from Another function
  • this.setState Automatically Calls render

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published