#Turbo Blog tag archive

Coordinating Rails and JavaScript with Custom Turbo Actions

We recently built a quiz feature that needed to celebrate correct answers with confetti animations. The challenge wasn’t the confetti itself but coordinating between our Rails controller and the frontend JavaScript without mixing concerns or adding […]

Agus ·
6 August, 2025

Flash messages with Toast.js and Turbo

I don’t need to emphasize the huge use that notifications have in modern applications, we can just think of everyday situations. You go into a website that has a contact form, fill in your email, subject, […]

Clari ·
22 November, 2024

Testing Broadcasts in Hotwire

One of the things I like most about Hotwire is the ability to change the elements of different sessions through broadcasts. We could already do this with ActionCable and some JavaScript, but thanks to Hotwire, we […]

Nico ·
31 July, 2024
Let's talk!