3

通过React16.8构建新闻网站第一章:整体概述

 3 years ago
source link: https://zhuanlan.zhihu.com/p/248170230
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

通过React16.8构建新闻网站第一章:整体概述

北京奇观技术有限责任公司 软件开发工程师

Github:

提示:github中每次的提交基本是对应的知乎每一篇文章,编码时可以直接去看对应的提交记录

项目使用技术 :

1 React16.8(这里会对React16.8的Hook的应用进行具体的讲解和实现)

2 Router(history、react-router-dom、react-router-config)

3 Ant Design4.3.3

主页面注册页面论坛页面文章页面帖子和文章的详情页帖子和文章的编辑页面
$ git clone https://github.com/snowones/newsWeb16.8.git
$ cd news
$ cnpm install 
$ npm start

这个项目适合React16.8的初学者和React16.8以前版本的开发者学习使用,我是将一个老版本的React网站通过React16.8进行了重构,对绝大部分Hook进行了具体的应用,欢迎各位学习使用,同时,我的Git仓库中,还有这个项目通过React16.8重构之前的版本,以及一些React和小程序项目,有需要了留言给我,我会抽时间再去写具体的实现过程,还有克隆时给个Star哈。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK