React学习捷径:
深入模式: React+ES6+WebPack+React Redux+Fetch+React Router+Immutable+React Native+NodeJs
正常模式: React+ES6+WebPack+React Redux
简易模式: React+ES6+WebPack+React Flux(React官方Flux库)
在看了一些react的文档以及以下新手入门文档之后,就想动手写个项目练练手,虽然知道要用react、react-router等,但是项目的脚手架如果自己写的话对于新手来说基本不可能,所以网上找了一款脚手架:Create React App
1 | npm install -g create-react-app |
然后访问 http://localhost:3000 就可以看到初始页面了哦
当然这个只是包含了react基础的npm包,以及静态服务,热插拔,其他如果要用的话可以自己install相关的插件。
- Updating to New Releases
- Folder Structure
- Available Scripts
- Syntax Highlighting in the Editor
- Displaying Lint Output in the Editor
- Changing the Page
<title>
- Installing a Dependency
- Importing a Component
- Adding a Stylesheet
- Post-Processing CSS
- Adding Images and Fonts
- Using the
public
Folder - Using Global Variables
- Adding Bootstrap
- Adding Flow
- Adding Custom Environment Variables
- Can I Use Decorators?
- Integrating with a Node Backend
- Proxying API Requests in Development
- Using HTTPS in Development
- Generating Dynamic
<meta>
Tags on the Server - Running Tests
- Developing Components in Isolation
- Making a Progressive Web App
- Deployment
- Troubleshooting
好了,赶紧开启我们的react之旅吧~