Accudio / async-alpine

Async Alpine brings advanced code splitting and lazy-loading to Alpine.js components!
https://async-alpine.dev
Apache License 2.0
152 stars 12 forks source link

0.4.0 rebuild using `x-ignore`, API changes and support for dynamic content #20

Closed Accudio closed 1 year ago

Accudio commented 2 years ago

This is an issue to discuss and test the new 0.4.0 version of Async Alpine. The beta for the new version is on the 0.4-rebuild branch, with updated documentation in the README.

Install the new version from GitHub like so:

npm install -S accudio/async-alpine.git#0.4-rebuild

Changes

This version has significant breaking changes, be sure to review these before updating an existing project. Check out the updated README for more examples and information.

I would appreciate if anyone was able to help me with testing this, I've significantly expanded the project test suite but it consists of small, contrived examples so I would be keen to get any real-world testing that is possible beyond my own.

In the build of this I've encountered some new additions I would like to make in #11 and #7, but I'd like to get this through the door and put those into 0.5 shortly after this release. I would also like to add documentation for using Async Alpine with different platforms and build tools but again getting this released is my priority.

Accudio commented 1 year ago

I've heard from a couple people that Client-Side-Routers aren't working correctly, at the very least Taxi.js and Swup.js

They don't initialise the component so it can be loaded manually which is a good sign, there must be an issue in the way they add markup which makes component detection unreliable.

Accudio commented 1 year ago

Fixed in latest commits:

Accudio commented 1 year ago

Added:

Accudio commented 1 year ago

Released 0.4.0 version, see the release notes for more info.

I'll be closing this issue, if you find any bugs or have any requests for this version file a new issue.