Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
imacrayon
· 2y ago · 0 comments
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/
Comments
[–]
pietz
2y 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.