riot v4.2.0 Release Notes
Release Date: 2019-06-23 // almost 5 years ago-
- ๐ Fix: attributes removal for numerical values #2711
โ Add: the
<template>
tag to support html fragment rendering foreach
andif
directives #2692<!-- each + template --><dl> <template each={ item in items }> <dt>{ item.title }</dt> <dd>{ item.description }</dd> </template> </dl>
<!-- if + template --><div> <template if={ meta }> <h1>{ meta.title }</h1> <h2>{ meta.subtitle }</h2> </template> </div>
โ Add: typescript generics support for component definitions #2709
โ Add: improve rendering performance of custom looped components