v0.9.0
This minor release continues to sand down some rough edges in Alpine AJAX:
-
x-target
will now initialize an Alpine component without requiringx-init
orx-data
. While this isn't a breaking change, you may want to remove unnecessaryx-init
’s in your code:<!-- Before --> <form x-init x-target="..."> </form> <tbody x-data> <a x-target="..."> </tbody> <!-- After --> <form x-target="..."> </form> <tbody> <a x-target="..."> </tbody>
Check out all the attributes we were able to remove from the documentation in this commit: 9949ab5
-
We've fixed some edge cases around response caching. Now Alpine AJAX can further reduce the number of requests hitting the server when multiple components fetch from the same endpoint.
Here's a secret for anybody reading these release notes: I just recorded a 30min walkthrough on how to build apps with Alpine AJAX. It'll go up on the documentation site soon but you can watch it here now: https://www.youtube.com/watch?v=vNiZyFVmoOI
Full Changelog: v0.8.2...v0.9.0