reactjs
西树与前端
这个作者很懒,什么都没留下…
展开
-
在Jenkins中发布react 静态项目常用shell脚本
功效:服务器git永远同步,远程,本地有更改文件或文件夹会被重置掉,保持和远程仓库一致rsync 同步文件原创作品,转载需得到原作者书面许可,同时保留原作者和出处,否则将追究法律责任。永久链接: https://shudong.wang/10705.html获取git远程仓库的代码fetch origin把代码重置到master最新git reset -...原创 2020-01-07 18:57:54 · 518 阅读 · 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.htmlgithub ...原创 2019-10-21 18:27:01 · 278 阅读 · 0 评论 -
在html5网页中录音解决方案
缘起因公司业务需要在网页录音功能,因为h5的api兼容限制不得想出一些解决方案,以下是总结。首发https://shudong.wang/10585.htmldemo测试地址https://wsdo.github.io/recording/项目地址https://github.com/wsdo/recordingQ&A后续继续完善,有这个需求的朋友可以继续讨论调...原创 2019-10-17 16:30:58 · 1933 阅读 · 0 评论 -
【reactjs性能优化】react-loadable 异步路由加载
文章首发:https://shudong.wang/10373.html优势每个路由使用不同的chunk,没必要一次加载所以js配置插件 react-loadableyarn add react-loadable -S封装高阶组件// blog:shudong.wangimport React from 'react'import Loadable from 'react-...原创 2019-07-17 16:47:41 · 505 阅读 · 0 评论