Speed up your HOTWire Hacker News PWA with Russian doll fragment caching to avoid redundant server rendering work.
Lazy Loading Lots of Comments HOTWire Tutorial #5
Lazy load a large comment thread on demand using Turbo Frames in this HOTWire Hacker News PWA tutorial.
Russian Doll Caching - Building HOTWire HNPWA #4
What if we can increase page load the speed by not duplicating work in the server rendering process?
Paginating Top Items - HOTWire HNPWA #3
Add server-side pagination to the top Hacker News stories list in the HOTWire HNPWA series.
Turbo Streaming Top Items - HOTWire HNPWA #2
Stream top Hacker News stories into the browser in real time using Turbo Streams in the HOTWire HNPWA series.
HOTWire HNPWA #1: Setting up for Top Stories
Follow along as we build the HOTWire Hacker News Progressive Webapp, or HHNPWA. This will build on the lessons from the Hacker News Progressive Web App, and will leverage all the enhancements that come from Turbo. In the end, you can compare the two, and decide for yourself what works.
Protecting ActiveStorage Uploads
Lock down your ActiveStorage file uploads in Rails so only authorized users can access stored blobs.
Updating to Stimulus.js 2.0
Migrate your Stimulus controllers from version 1.x to 2.0 with a clear walkthrough of the breaking changes and new APIs.
Stimulus Pearls: A Collection of Stimulus.js Tutorials
A complete collection of Stimulus.js tutorials covering drag and drop, form handling, ActionCable, and more — updated for the latest Rails and Stimulus.
Updated Tutorial: How Do I Drag and Drop Items in a List?
Updated guide for drag-and-drop list reordering in Rails with Stimulus.js, refreshed for current Rails and Stimulus versions.