
笔记
文章平均质量分 58
啊哈老郭
这个作者很懒,什么都没留下…
展开
-
解决Error: Can‘t find Python executable “python“, you can set the PYTHON env variable
在执行 yarn start时遇到问题, 最后一行提示 Run `npm rebuild node-sass` to download the binding for your current environment.于是按提示操作 输入命令 npm rebuild node-sass 的时候有时会遇到错误Error: Can't find Python executable "python", you can set the PYTHON env variable导致安装部分包错误,于是原创 2021-08-14 17:22:27 · 383 阅读 · 0 评论 -
redux封装,react中异步的loading状态处理
react中异步操作的loading,redux的封装创建项目安装依赖准备工作这段时间做react项目遇到的问题,异步任务大多需要做loading状态展示,重复的写showLoading和hiddenLoading着实不太优雅就想着处理一下,使用redux也不是特别方便,就研究了一下,借鉴了些各路大佬的代码整合了一下,在此做记录创建项目我用的是create-react-app,在这就不赘述了应该都会安装依赖yarn add redux redux-react redux-saga lodash i原创 2020-11-05 16:55:14 · 1801 阅读 · 4 评论