随笔分类 -  ReactJS

React项目中的registerServiceWorker的作用
摘要:在公司的React前端项目中,发现有一个registerServiceWorker.js文件, 很久都没弄明白这个文件是干什么用的,查询了一些资料后,了解了一些 service worker是在后台运行的一个线程,可以用来处理离线缓存、消息推送、后台自动更新等任务。 registerServiceW 阅读全文

posted @ 2019-02-18 08:08 新西兰程序员 阅读(4574) 评论(0) 推荐(1) 编辑

React官方网站学习
摘要:React官方网站 英文版 https://reactjs.org/tutorial/tutorial.html React官方网站 中文版 https://react.docschina.org/docs/hello-world.html https://react.docschina.org/t 阅读全文

posted @ 2019-02-14 09:27 新西兰程序员 阅读(604) 评论(0) 推荐(0) 编辑

React 和 Redux理解
摘要:学习React有一段时间了,但对于Redux却不是那么理解。网上看了一些文章,现在把对Redux的理解总结如下 从需求出发,看看使用React需要什么 1. React有props和state props => 父级分发下来的属性 state => 组件内部可以自行管理的状态 React有个特点就是 阅读全文

posted @ 2019-01-22 07:08 新西兰程序员 阅读(318) 评论(0) 推荐(0) 编辑

AngularJS 2.0 学习
摘要:前提: 下载和安装node.js 和 npm. https://nodejs.org/en/download/ npm安装 需要自己google 安装好之后,可以在cmd窗口中查看安装的版本 node -v 查看安装的node.js的版本 npm -v 查看安装的npm的版本 使用下列命令来从Git 阅读全文

posted @ 2017-04-28 12:32 新西兰程序员 阅读(90) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示