https://github.com/mixelpixel/react-tac-toe
FB's tutorial: https://facebook.github.io/react/tutorial/tutorial.html
https://github.com/mixelpixel/react-tac-toe
Last synced: 7 months ago
JSON representation
FB's tutorial: https://facebook.github.io/react/tutorial/tutorial.html
- Host: GitHub
- URL: https://github.com/mixelpixel/react-tac-toe
- Owner: mixelpixel
- Created: 2017-07-24T04:13:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-12T05:30:02.000Z (over 8 years ago)
- Last Synced: 2024-12-28T18:55:31.141Z (over 1 year ago)
- Language: JavaScript
- Size: 126 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-Tac-Toe
Left off with Storing the history: https://facebook.github.io/react/tutorial/tutorial.html#storing-a-history
### FB's tutorial: https://facebook.github.io/react/tutorial/tutorial.html
### Support communities: https://facebook.github.io/react/community/support.html
#### Configuration notes
1. Creating a new application: https://facebook.github.io/react/docs/installation.html#creating-a-new-application
```console
01 $ npm install create-react-app
npm WARN saveError ENOENT: no such file or directory, open '/Users/mixelpix/JavaScript/React-Tac-Toe/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/mixelpix/JavaScript/React-Tac-Toe/package.json'
npm WARN React-Tac-Toe No description
npm WARN React-Tac-Toe No repository field.
npm WARN React-Tac-Toe No README data
npm WARN React-Tac-Toe No license field.
+ create-react-app@1.3.3
added 71 packages in 4.716s
02 $ create-react-app my-app
Creating a new React app in /Users/mixelpix/JavaScript/React-Tac-Toe/my-app.
Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...
> fsevents@1.1.2 install /Users/mixelpix/JavaScript/React-Tac-Toe/my-app/node_modules/fsevents
> node install
[fsevents] Success: "/Users/mixelpix/JavaScript/React-Tac-Toe/my-app/node_modules/fsevents/lib/binding/Release/nod
e-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
npm notice created a lockfile as package-lock.json. You should commit this file.
+ react@15.6.1
+ react-dom@15.6.1
+ react-scripts@1.0.10
added 1204 packages in 70.091s
Success! Created my-app at /Users/mixelpix/JavaScript/React-Tac-Toe/my-app
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 my-app
npm start
Happy hacking!
03 $ cd my-app
04 $ npm start
> my-app@0.1.0 start /Users/mixelpix/JavaScript/React-Tac-Toe/my-app
> react-scripts start
Starting the development server...
Compiled successfully!
You can now view my-app in the browser.
Local: http://localhost:3000/
On Your Network: http://192.168.1.106:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.
```
2.