Learn React with Redux First #ReactJS #Redux #Coursera Honk Kong University
First React App- ReactJS Redux Coursera Honk Kong University Work https://kambleaa007.github.io/ReactCoursera/
First React App
installing as global package here
ReactCoursera>npm install -g create-react-app@1.5.2
ReactCoursera>create-react-app —help
Usage: create-react-app
Options:
-V, —version output the version number
—verbose print additional logs
—info print environment debug info
—scripts-version
—use-npm
-h, —help output usage information
Only
A custom --scripts-version can be one of:
- a specific npm version: 0.8.2
- a custom fork published on npm: my-react-scripts
- a .tgz archive: https://mysite.com/my-react-scripts-0.8.2.tgz
- a .tar.gz archive: https://mysite.com/my-react-scripts-0.8.2.tar.gz
It is not needed unless you specifically want to use a fork.
If you have any problems, do not hesitate to file an issue:
https://github.com/facebookincubator/create-react-app/issues/new
ReactCoursera\one>create-react-app confusion
Creating a new React app in C:\Users\ashish.kamble\GIT\react\coursera\reactOne\ReactCoursera\one\confusion.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts…
Success! Created confusion at C:\Users\ashish.kamble\GIT\react\coursera\reactOne\ReactCoursera\one\confusion
Inside that directory, you can run several commands:
npm start
Starts the development server.
npm run build
Bundles the app into static files for production.
npm test
Starts the test runner.
npm run eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd confusion
npm start
Happy hacking!
ReactCoursera\one>cd confusion
one\confusion>npm start
confusion@0.1.0 start C:\Users\ashish.kamble\GIT\react\coursera\reactOne\ReactCoursera\one\confusion
react-scripts start
Starting the development server…
Compiled successfully!
You can now view confusion in the browser.
Local: http://localhost:3000/
On Your Network: http://172.29.30.193:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.