Lazy-loading content with Turbo Frames and skeleton loader

Hotwire is a new suite of frontend tools from Basecamp for building “reactive Rails” apps while writing a minimal amount of JavaScript.While the most exciting feature to some is the real-time streaming of server rendered HTML, my favorite addition is the Turbo Frame.The Turbo Frame is a super-charged iFrame that doesn’t make you cringe when you use it. Frames represent a slice of your page and have their own navigation context.One incredibly powerful feature is lazy-loading a Frame. One example of this pattern that you probably see everyday is the GitHub activity feed:.
Lazy-loading content with Turbo Frames and skeleton loader #ruby #rubydeveloper #rubyonrails #turbo https://rubyonrails.ba/single/lazy-loading-content-with-turbo-frames-and-skeleton-loader

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles