blog

Build Status author Node.js Version Size tested with jest jest

欢迎光临我的博客

本站托管于 Github,所有数据来源于ISSUE,通过 GitHub API 动态加载数据渲染页面

我的技术栈

TODO

redux-thunk

使用redux-thunk原因在于下面报错内容,允许 action 返回一个函数.

Uncaught Error: Actions must be plain objects. Use custom middleware for async actions.

docker 构建项目

./build.sh # 用于构建image,镜像内部运行`yarn build`,构建的dist文件在镜像内部
./run.sh   # 用于运行镜像 `CMD serve -s dist` 运行服务

Interview Question ++

React 开发原则

尽可能使用 PureComponent,增强性能… 尽可能细化组件.

React Router

看过的书