Browsing Tag
hotwire
10 posts
Visual loading states for Turbo Frames with CSS only
This article was originally published on Rails Designer When you use Turbo Frames on your page you can…
Sanitize your strings in JavaScript like a Rails developer
This article, originally published on Rails Designer, is extracted from the book JavaScript for Rails Developers. Get your…
Console Utilities You (Didn’t) Know
This article (initially published on Rails Designer) was taken, but adapted for the web, from the book JavaScript…
Use cases for Turbo’s Custom Events
This article was originally published on Rails Designer Turbo emits various Custom events before, during and after certain…
Rails Designer v1.6: Drag & Drop image support
Rails Designer is still chugging along nicely. 🛤️ Typically seeing around 30 new developers/teams per week. Want to…
Inline Save and Add Another with Rails and Hotwire
This article was originally published on Rails Designer I recently wrote about how to add a “Save and…
How to Create an Undo Action with Rails
This article was originally published on Rails Designer. An undo-action is a common UX paradigm in web-apps. You…
How to Add Disabled State to Buttons with Turbo & Tailwind CSS
This post was originally published on Rails Designer. If you’ve used Rails’ UJS, which is now defunct, you…
Data-Attributes Magic with Tailwind CSS & Stimulus
This article was originally published on Rails Designer Changing the way some, or all, UI elements on an…
How to Properly Structure Stimulus Controller
This article was previously published on Rails Designer. Over the years many articles have been written about organizing…