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 for each and if 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