yarn alpinejs 1.9.0
v1.9.0

latest releases: 3.9.3, 3.9.2, 3.9.1...
4 years ago

Added

  • x-for directive with :key binding on <template> tag. This uses a similar strategy as x-if (appending real dom nodes after the template tag, and re-evaluating them when data updates)
<template x-for="item in items" :key="item">
    <div x-text="item"></div>
</template>

Fixed

  • Non-root x-data elements are now being initialized by the root mutation observer.

Don't miss a new alpinejs release

NewReleases is sending notifications on new releases.