All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- 加入 componentWillUnmount
- 修复生命周期 componentWillMount 调用多次
- 修复 diff 算法多次渲染组件产生的 bug
- 支持 render() 返回 null
0.5.4 2018-11-11
- 修复 props 在组件间传递间丢失
0.5.3 2018-10-17
- 修复 diff 算法
- 修复使用 PureComponent 依然执行不必要的渲染
- 修复 JSX 解析错误
0.5.2 2018-9-18
- 受控组件
- 增加 defaultProps
- 修复 htmlFor/disabled/autofocus 未生效
- 用 input 事件同步 onChange 事件(与 React 同步)
- 使用 Webpack 替代 Parcel(parcel 热更新有 bug)
- 按需加载 diana,打包体积从 28 kb 缩小为 9 kb
0.4.1 2018-8-27
- do reasearch in HOC
0.4.0 2018-8-5
- 实现 refs
- 实现 PureComponent
- SetState 修改为异步调用
0.3.0 2018-7-27
- 实现生命周期
- 实现 diff 算法
0.2.0 2018-7-6
- 实现 Components
- 实现 State 和 Props
0.1.0 2018-7-6
- 实现 Virtual DOM