Hotwire Weekly logo

Hotwire Weekly

Subscribe
Archives
August 18, 2025

Week 33 - Turbo Offline Support, CSS `@functions`, and more!

Discover the latest Hotwire insights, tutorials, and releases in this week edition of Hotwire Weekly!

Hotwire Weekly Logo

Welcome to Hotwire Weekly!

Welcome to another, slightly shorter, issue of Hotwire Weekly! Happy reading! 🚀✨


📚 Articles, Tutorials, and Videos

Turbo PR #1427: Add support for (basic, cached on-visit) offline access using service workers - Rosa Gutiérrez opened a pull request for Turbo to include a new offline bundle (@hotwired/turbo/offline) with configurable caching strategies (networkFirst, cacheFirst, staleWhileRevalidate). This rollout gears up for Rosa's upcoming "Coming Soon: Offline Mode to Hotwire with Service Workers" talk at Rails World 2025.

Hotwire Native: Building Bridges - Dane Wilson demonstrates how to enhance your Hotwire Native iOS & Android apps by using Bridge Components. With Stimulus-powered bridge components on the web communicating with native counterparts (Swift or Kotlin). You can replace web UI elements like a "heart" button with fully native versions, while still following the HTML-first approach.

HTML Partials + Server Reducers: Self-assembling Ul components with embedded state - Kamil Chmielewski proposes rendering HTML fragments and pushing state transitions through “server-side reducers,” which maps neatly to Turbo/Hotwire’s HTML-over-the-wire model: think Turbo Streams/Frames delivering partials while controllers/actions function as reducers for predictable, JS-light interactivity.

5 Useful CSS functions using the new @function rule - Una Kravets highlights new ways to write cleaner, logic-driven CSS with custom functions like negation, opacity helpers, fluid typography, and responsive layouts, made possible by the upcoming CSS @function syntax in Chrome 139.

🧰 Libraries and Tools

rails_pulse - A comprehensive performance monitoring and debugging built using Hotwire.

🎉 Releases

rails v8.0.2.1 - Ruby on Rails web framework.

herb v0.5.0 - Powerful and seamless HTML-aware ERB parsing and tooling.

view_component v4.0.2 - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

hot-glue v0.6.23 - Plug & play Rails scaffold building companion for Turbo.

solid_cable v3.0.12 - A database backed ActionCable adapter.


Feel free to follow us on Twitter/X, Bluesky, Linkedin, or on Mastodon!

See you next week!

Don't miss what's next. Subscribe to Hotwire Weekly:
Website Bluesky X LinkedIn
Powered by Buttondown, the easiest way to start and grow your newsletter.