github alpinejs/alpine v1.9.0
on GitHub

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)
    html <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.
6 months ago