摘要:
1、安装指定版本 npm i -D node-sass@4.12.0 2、npm install -save 和 -save-dev分不清 npm install xxx: 安装项目到项目目录下,不会将模块依赖写入devDependencies或dependencies。 npm install - 阅读全文
摘要:
一、、Redux适用场景: 适用场景:多交互、多数据源 阮一峰Blog:http://www.ruanyifeng.com/blog/2016/09/redux_tutorial_part_one_basic_usages.html 二、设计思想 Redux 的设计思想很简单,就两句话。 (1)We 阅读全文
摘要:
1、React组件生命周期 https://react.docschina.org/docs/react-component.html#shouldcomponentupdate 2、生命周期图谱作为速查表:如下图 https://projects.wojtekmaj.pl/react-lifecy 阅读全文