Y
Hacker News
new
|
ask
|
show
|
jobs
by
imacrayon
838 days ago
Yeah, Alpine components have `x-init` that works just like the load trigger. You can fire off an AJAX request inside that directive, there's an example here:
https://alpine-ajax.js.org/examples/lazy-load/
1 comments
pietz
838 days ago
Interesting. Some of the concepts work quite beautifully. For the advanced feature, I often prefer HTMX. In any case, a really cool project! Congrats.
link