Browsing Tag
hotwire
12 posts
Replace Turbo confirm with native dialog
This article was originally published on Rails Designer Blog Rails, when using turbo(-links), has long shipped with a…
Hotwire Decoded: When to use Frames vs. Streams
The Hotwire Confusion If you are new to Rails 7 or 8, you’ve likely stared at the documentation…
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…