Use Turbo Native adapters with client-side libraries other than Turbo
Optimistic UI with Ruby on Rails & Hotwire
A proof-of-concept for optimistic UI with Hotwire and Rails
Alternatives to @apply when reducing Tailwind CSS class repetition
A back button using Stimulus and Turbo's History state
A reasonably legitimate use of HTTP Status 418 to work around Turbo's rendering limitation
Turbo & Progressive Enhancement
A tip on writing Hotwire code that feels right
Turbo Refreshes, Frames, and Streams
A guide for when to use each Turbo feature
[T]he art that people are drawn to–at an individual and collective level–reflects much about what is missing from their lives. The particular register of emotions we're sensitive to in the visual sphere hints at what we long for, but don't reliably have a connection to, in ourselves.
The Good Enough Parent 2021, p.83
To have a scrollable element scroll to the bottom by default (CSS only, without JavaScript), use display: flex; flex-direction: column-reverse
. Via StackOverflow.
Breakpoint-free fluid type and spacing with Tailwind and the utopia.fyi approach
History API states persist between reloads
In Ruby, curly braces can be omitted from hashes not only when the hash is the last argument of a method, but also when it’s the last item in an array: [1, 2, three: :four]
. Neat!
Ruby's Array#inquiry, Rails' truncate with block
Bricolage looks great: A free and open source variable font with French attitude and British mannerisms across 3 axis: weight, width & optical size
Here’s an Apple Shortcut (for iOS & macOS) that exports podcast subscriptions to an OPML file, making it easier to switch away from Apple’s default Podcast app. It’s based on the Shortcut created by Pocket Casts (thanks!), but skips the importing part and instead just downloads the file.