Skip to content

Releases: YMFE/qreact

[email protected]

21 Sep 02:38
Compare
Choose a tag to compare
  • 简化 createClass

[email protected]

21 Sep 02:39
Compare
Choose a tag to compare
  • disabled 的元素不能触发点击事件
  • 修正 mouseenter / mouseleave 在 IE6-8 中的 BUG,涉及到 relatedTarget 的正确获取与 LCA 处理
  • 优化 setState 方法,虚拟 DOM 没有转换出对应的真实 DOM 时,不是能更新组件
  • 简化 alignVnode 的逻辑,减少插入列队的生成
  • react/lib 中添加一些简用的外围模块,如 ReactComponentWithPureRenderMixinshallowComparesliceChildren

[email protected]

21 Sep 02:39
Compare
Choose a tag to compare
  • event.originalEvent 更名为 event.nativeEvent
  • 修正 polyfill中forEach 的 BUG
  • 移除 scheduler 模块
  • 移除 instanceMap 模块
  • 修正 typeNumber 在 IE6-8 下的 BUG
  • eventSystem.addGlobalEventListener 更名为 eventSystem.addGlobalEvent
  • 规避 insertBfore 在 IE8 下第二参数不能为 undefined 的问题
  • 修正 ref 延迟执行的 BUG,组件所在的 vnode 如果有 ref 属性,那么它应该放到此组件的 __pendingRefs 数组中,而不是放在父组件的 __pendingRefs 数组,此外 __pendingRefs 数组里的元素由对象改成函数
  • 确保组件在 componentDidMount 钩子执行 setState 后,所有回调应延迟到 componentDidUpdate 外执行
  • 确保 mountComponent 中实例应该尽快保存到 vnode
  • 修正 updateElement 方法中只执行一次 dangerouslySetInnerHTMLBUG
  • 处理 mouseenter/mouseleave 的兼容问题
  • 处理 focus/blur 的兼容问题

[email protected]

21 Sep 02:40
Compare
Choose a tag to compare
  • 修复了在特定条件下调用 setState 时 IE 8 视图不更新的问题。

[email protected]

21 Sep 02:40
Compare
Choose a tag to compare
  • 发布 QReact 正式版。