Tooltips with Futurism
As I read the excellent post about how to implement lazy loaded tooltips with Hotwire by Sean P. Doyle and Steve Polito, I couldn’t help but think that this is actually a very distinct example of how hard it is...
A collection of 16 posts
As I read the excellent post about how to implement lazy loaded tooltips with Hotwire by Sean P. Doyle and Steve Polito, I couldn’t help but think that this is actually a very distinct example of how hard it is...
Note: If you’d like to try it out live first, here is a sandbox example. I like to use the Lit framework to create self-contained web components that provide composable drop-in functionality. I choose them over Stimulus controllers when I...
In this quick tutorial, I’m going to acquaint you with Cubism, a lightweight, CableReady based way to add presence indicators to your Rails models. Before we get too far into the weeds, though, here’s a quick overview of how it...
This short post is intended as a how-to get up and running with StimulusReflex and the new ~importmap-rails~ gem to go all transpiler/bundler-less in your asset handling. Since not all generators in StimulusReflex have been updated to reflect this, I...
Update 2021-05-06: Add option to exclude the user pertaining to the model from the broadcast - assuming she’s notified otherwise. Note: I’m not too happy with the usage of the term Notification here, but naming, as we all know, is...