Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Created July 30, 2018 08:32
Show Gist options
  • Save ThaddeusJiang/eba3aad279774f07554adc7af457f4da to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/eba3aad279774f07554adc7af457f4da to your computer and use it in GitHub Desktop.
CMS 课题 or TODO:
  1. React 生命周期问题 React 16.3 后, 新的生命周期函数, CMS 有很多地方需要重构。

  2. js 异步使用 callback 的地方都可以重构 使用 Promise.all 函数,可以简化组合的异步操作。并且有效减少 setState 次数。

  3. 和 👆 一样, 前端也应该安装 MVC 模式开发 先设计 Data, 在编写 Service ,最后编写 Controller/Component。

  4. 自动化脚本全部使用 python 重写 TODO: 这个可做可不做

  5. Parcel 道理有没有实现按需加在啊? 如何提高首屏加载速度?虽然现在也不是很慢。

  6. React Context API 重构深层传递 props 问题 拒绝 Redux,因为不需要。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment