Hotwire Weekly logo

Hotwire Weekly

Archives
Subscribe
December 1, 2025

Week 48 - Invokers API, From ERB to JavaScript, 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, issue of Hotwire Weekly! Happy reading! 🚀✨


📚 Articles, Tutorials, and Videos

GoRails: Rails new with TailwindCSS - Chris Oliver published a new video as part of the "Domain Monitoring SaaS product" series on GoRails, where he sets up Tailwind CSS in a new Rails project.

What Are Invokers? Interactivity Without JavaScript - Scott Tolinski published a new video on the Syntax FM YouTube channel, in which he talks about the new-ish Invoker Commands API in HTML and JavaScript.

From ERB to JavaScript - Server Computes, Hydration Joins, Templates Filter - Sam Ruby shares the final architecture of an offline-first Rails app built using ERB templates plus a light Stimulus/JavaScript layer. The server computes normalized data, the client "hydrates" it using cached state when offline, and templates remain the single source of truth.

Automatic ERB-to-JavaScript Conversion for Offline SPAs - Sam Ruby shows how to take existing ERB templates and automatically convert them into JavaScript functions, letting a Rails app render the same HTML on client side (e.g. for offline-first SPAs) without duplicating template logic.

Hotwire Club: Stimulus - Web Share API - Julian Rubisch published a new challange for The Hotwire Club about Stimulus and the Web Share API.

🧰 Libraries and Tools

shadcn-rails - Beautiful, accessible UI components for Rails built with ViewComponents, Stimulus, and Tailwind CSS.

🎉 Releases

relative-time-element v4.5.1 - Web component extensions to the standard <time> element.

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

morphlex v1.0.5 - Efficient DOM morphing library.


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 favicon
Bluesky
X
Website favicon
LinkedIn
Powered by Buttondown, the easiest way to start and grow your newsletter.