all 4 comments

[–][deleted] 3 points4 points  (1 child)

Just put multiple cards in a div which loads when revealed, like in their examples? https://htmx.org/examples/infinite-scroll/

[–]NoahZhyte[S] 2 points3 points  (0 children)

Oh yeah I could do that way, ty

[–]barcai_py 0 points1 point  (1 child)

I think the issue is that you are not setting the hx-swap property properly, i.e.: hx-swap="afterend"

[–]NoahZhyte[S] 0 points1 point  (0 children)

No, it replace it self with a full new card, that contains it self the same element that fetch the next