3 ms·
Simple Lazy Loading in Rails with Hotwire and Turbo Frames (12 Lines of Code)
- hbroadbent 3y agoHey HN, I just posted a new article to my blog which I though some people here might find interesting. This posts illustrates some of my favourite things about modern Ruby on Rails — dynamic frontends, powerful functionality, and very short and succinct implementations. This lazy loader is basically just a few Turbo Frames sprinkles into our views, but they do the job and they do it well. Happy to answer any questions you might have too. Thanks, Harrison