linuxsir首页 LinuxSir.Org | Linux、BSD、Solaris、Unix | 开源传万世,因有我参与欢迎您!
网站首页 | 设为首页 | 加入收藏
您所在的位置:主页 > 小企鹅新闻图书馆 >

Inferno v4 正式发布,JavaScript 用户界面库

时间:2018-02-13  来源:未知  作者:admin666

阿里云高性能云服务器,2折起! >>> >>>  

Inferno

Inferno v4 版本已发布,该版本对项目过程逻辑进行了重写,并新增了一些新特性:

{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

function Static() {
    return <div>1</div>;}

Static.defaultHooks = {
    onComponentShouldUpdate() {        return false;
    }
}

export const Com = Static;

TouchEvents are now part of Synthetic event system

更多详情可查阅更新日志。

Inferno 是一个极其快速,类似 React 的 JavaScript 库,用于构建现代用户界面。

友情链接