发布于 2016-04-17 00:01:37 | 110 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Immutable.js 不可变数据集合

Immutable 是 Facebook 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。


Immutable.js 3.8.0 发布了。

更新内容:

新增:

  • Now exports Flow types (#805)

  • Now exports typings for TypeScript use. (#808)

  • Cursor TypeScript definitions (#765)

  • No longer warns when accessing length property of a collection. (88f880f)

  • Map.of() takes key, value interleaved pairs (#727)

  • findEntry and findLastEntry now respect notSetValue argument (#822)

修复:

  • Iterable::take(Infinity) takes infinitely instead of 0 (#834)

  • Proper toOrderedMap and toOrderedSet method definitions (#761)

  • Records return themselves for no-op Record#set calls for better performance (#795)

  • Range#toString propertly reports step (#759)

  • Add missing Set#contains (96b0946)

更新详情参见发行说明

下载地址:

 



历史版本 :
Immutable.js v4.0.0-rc.9 发布,不可变数据集合
Immutable.js v4.0.0-rc.7 发布,不可变数据集合
Immutable.js v4.0.0-rc.3 发布,不可变数据集合
Immutable.js v4.0.0-rc.2 发布,不可变数据集合
Immutable.js v4.0.0-rc.1 发布,不可变数据集合
Immutable.js 3.8.1 发布,不可变数据集合
Immutable.js 3.8.0 发布,不可变数据集合
Immutable.js 3.7.6 发布,不可变数据集合
Immutable.js 3.7.4 发布,不可变数据集合
Immutable.js 3.7.3 发布,不可变数据集合
Immutable.js 3.7.2 发布,不可变数据集合
Immutable.js 3.7.1 发布,不可变数据集合
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务