React实践总结

来源:互联网 发布:linux后台运行命令 编辑:程序博客网 时间:2024/05/18 02:57

react系列技术栈,可以参考阮一峰老师的博客。

webpack学习资料:
http://www.jianshu.com/p/42e11515c10f

create-react-app的介绍:
http://blog.csdn.net/github_squad/article/details/57452333#
官方介绍:
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md
另一个:
https://www.npmjs.com/package/create-react-app

babel-plugin-import是使用比较多的“用于按需加载组件代码和样式的 babel 插件”。

antD的使用:见中文官网。
https://ant.design/docs/react/introduce-cn
可以用dva来构建项目(使用roadhog配置),也可以使用create-react-app等其他脚手架。
使用create-react-app时,可能需要react-app-rewired进行优化(直接使用react-scripts存在一些缺陷)。

其他一些资源
怎能少了awesome系列:
https://github.com/enaqx/awesome-react
其中的开源组件值得关注:
https://github.com/enaqx/awesome-react#components

原创粉丝点击