
reactjs
西树与前端
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在Jenkins中发布react 静态项目常用shell脚本
功效:服务器git永远同步,远程,本地有更改文件或文件夹会被重置掉,保持和远程仓库一致 rsync 同步文件 原创作品,转载需得到原作者书面许可,同时保留原作者和出处,否则将追究法律责任。 永久链接: https://shudong.wang/10705.html 获取git远程仓库的代码 fetch origin 把代码重置到master最新 git reset -...原创 2020-01-07 18:57:54 · 568 阅读 · 0 评论 -
基于 react 的 nextjs ssr 服务端渲染企业级脚手架
nextjs 企业级脚手架 【基础布局】【rematch】【redux】【ant-design】 【api proxy】【stylus】【css modules】【多环境切换配置】 【eslint】【lint-staged】【sentry】【pm2 config】如果能帮助你,那就给个star ✨✌️???? 文章首发:https://shudong.wang/10604.html github ...原创 2019-10-21 18:27:01 · 331 阅读 · 0 评论 -
在html5网页中录音解决方案
缘起 因公司业务需要在网页录音功能,因为h5的api兼容限制不得想出一些解决方案,以下是总结。 首发 https://shudong.wang/10585.html demo测试地址 https://wsdo.github.io/recording/ 项目地址 https://github.com/wsdo/recording Q&A 后续继续完善,有这个需求的朋友可以继续讨论 调...原创 2019-10-17 16:30:58 · 2062 阅读 · 0 评论 -
【reactjs性能优化】react-loadable 异步路由加载
文章首发:https://shudong.wang/10373.html 优势 每个路由使用不同的chunk,没必要一次加载所以js 配置插件 react-loadable yarn add react-loadable -S 封装高阶组件 // blog:shudong.wang import React from 'react' import Loadable from 'react-...原创 2019-07-17 16:47:41 · 547 阅读 · 0 评论