The BEST way to build Infinite Scroll using Hotwire

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

ความคิดเห็น • 13

  • @joey2545
    @joey2545 ปีที่แล้ว +1

    Very cool! Thanks for making this quick video!

  • @Alimenteocerebro
    @Alimenteocerebro ปีที่แล้ว

    I couldn't pass the value to the controller. I added the div as you said, but doing a console.log I see that this.urlValue returns empty. Is there any logic for javascript to get the values?

  • @AntonLitvinenko
    @AntonLitvinenko ปีที่แล้ว +1

    Hi! Any reason you arent using a lazy turbo frame to load the next page?

    • @rapid-ruby
      @rapid-ruby  ปีที่แล้ว

      Hi Anton, yes, this is an approach I’ve used before, and it has a lot of issues to work around. On the surface it works, but when you load a few pages, go to a new page, and then press the back button in your browser, you’ll see a lot of weird things happening.

    • @AntonLitvinenko
      @AntonLitvinenko ปีที่แล้ว +1

      Ok! Will pay attention to that! Thank you!

  • @dencam
    @dencam ปีที่แล้ว +1

    Awesome video,
    Thank you please.

  • @notrab
    @notrab ปีที่แล้ว

    Great video!

  • @midda7
    @midda7 ปีที่แล้ว +1

    thanks a lot!

  • @rahulk6130
    @rahulk6130 ปีที่แล้ว

    Nice video. Would appreciate if you would increase / zoom your editor a bit, so the font is larger. Thanks.

    • @rapid-ruby
      @rapid-ruby  ปีที่แล้ว

      Thanks for the suggestion, I’ll keep that in mind! I’ve already recorded a bunch of videos, so if you don’t see an increase for a while, that’s why :)

  • @tkhobbes
    @tkhobbes ปีที่แล้ว

    Any reason for choosing kaminary over pagy?

    • @rapid-ruby
      @rapid-ruby  ปีที่แล้ว +1

      Not really, I’ve just used kaminari for years at the point and it does everything I need 😅

  • @azizdevfull
    @azizdevfull ปีที่แล้ว +1

    very Helpful : )