Distributed Systems In Rails series by Nate Hopkins
This three part series is a super valuable and practical guide to thinking about and structuring distributed systems with Rails. Part one
of the series is theoretical, parts two
offer practical approaches to configuring Sidekiq and database connections properly in production.
The Problem That ViewComponent Solves For Me by Jason Swett
I’ve spent time exploring ViewComponent
before, but I’ve always struggled to articulate exactly when I should reach for a component — my brain usually just defaults to helpers and then one day I wake up to a mess of helpers.
In this piece, Jason shares his thought process on why he reaches for ViewComponent in a way that helped me reason more clearly about my own code. No code examples in this one, just thoughts.
Hotwire Handbook Part 1 by Phil Reynolds
This article is a series of small, well-explained features implemented with Turbo Streams.
While the official documentation lags behind, these types of practical, code-heavy demos are the best way for new folks to get started.
Import Maps Under The Hood In Rails 7 by Paweł Dąbrowski
Like many of the new front-end tools released with Rails 7, importmap-rails is not very well documented. This article from Paweł is a thorough look at what import maps are, how they work, and how to use them in your Rails application.
Import maps are not right for every use case, but if you want to explore, this is a great starting starting point.
Dynamically Re-use and Lazy-load Pages Using Hotwire
This article describes an interesting technique from the Avo team to re-use views across the application, with a healthy dose of Turbo Frames in the mix. The use case here is a bit niche, but the technique is neat.