##更新中:
1. create-react-app 还有 vue create 超级慢问题:
以前一直在等,每次安装都得个五分钟,直到今天搜了搜确实有解决办法,因为create-react-app指令默认调用npm,把npm的register设置成https://registry.npm.taobao.org4 就可以了。
在命令行输入:
npm config set registry https://registry.npm.taobao.org4
再检查
npm config get registry
之后在create-react-app 就好了
2.提高效率的开发工具
2-1 创建组件输入rcc,rfc 就可以,非常快 vscode下载
rcc : react class component 类组件 也就是class
rfc: react function component 无状态组件 也就是 function
ES7 React/Redux/GraphQL/React-Native snippets
2-2 chrome redux devtools 查看redux 状态