{Inferno.createPortal(vNode, DOM)} can be used to render vNode to external location in DOM
Router has been updated to v4 to match React Router v4 API
Mobx and Redux integrations have been ported to the latest version
new VNodeFlag ReCreate has been added. It can be used to always re-create element instead of diffing it.
defaultHooks has been added to Functional Components
Inferno now supports IE9+ without polyfills reducing
Inferno size has been reduced to 7.8kb gzip including the ES2015 Component!
Small performance improvements[code]function Static() {
return
1
;}
Static.defaultHooks = {
onComponentShouldUpdate() { return false;
}
}[/code]export const Com = Static;
TouchEvents are now part of Synthetic event system
Inferno 是一个极其快速,类似 React 的 JavaScript 库,用于构建现代用户界面。
软件详情:https://github.com/infernojs/inferno/releases/tag/v4.0.2
下载地址:http://git.oschina.net/mirrors/inferno
来自:开源中国社区