内容简介:Riot 5.3.0 发布了。Riot 是一个简单而优雅的基于组件的 UI 库,为所有现代浏览器带来了自定义组件,压缩文件大小仅有 6 KB,支持 FireFox、Chrome、Edge、Safiri 等主流浏览器。 本次更新内容包括: 改进了对传统...
Riot 5.3.0 发布了。Riot 是一个简单而优雅的基于组件的 UI 库,为所有现代浏览器带来了自定义组件,压缩文件大小仅有 6 KB,支持 FireFox、Chrome、Edge、Safiri 等主流浏览器。
本次更新内容包括:
- 改进了对传统 Riot.js 语法的支持,从而修复了一些极端情况
- 改进对递归标记的支持
现在,开发者可以使用递归呈现标签,而不必全局注册它们:
<recursive-tree>
<p>{ props.name }</p>
<recursive-tree
if={ props.children.length && props.children }
each={ child in props.children } { ...child }/>
</recursive-tree>
更新日志:https://github.com/riot/riot/releases/tag/v5.3.0
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Beautiful Code
Greg Wilson、Andy Oram / O'Reilly Media / 2007-7-6 / GBP 35.99
In this unique work, leading computer scientists discuss how they found unusual, carefully designed solutions to difficult problems. This book lets the reader look over the shoulder of major coding an......一起来看看 《Beautiful Code》 这本书的介绍吧!