Custom Turbo Stream Actions
Play
15:20

Custom Turbo Stream Actions

#382 Jan 1, 2023 free
With the release of Turbo 7.2, we gained the ability to create custom actions in Turbo. This allows us to trigger functions on the client side that would have been difficult or cumbersome to do in the past. In this episode, we look at setting up custom actions and how to use them.

Stimulus Outlets API
Play
13:57

Stimulus Outlets API

#378 Dec 4, 2022 free
Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.

Hotwire Introduction
Play
23:56

Hotwire Introduction

#369 Oct 2, 2022 free
Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.

esbuild for Rails
Play
6:12

esbuild for Rails

#313 Sep 5, 2021 free
Use esbuild to bundle your JavaScript, then deliver it via the asset pipeline in Rails. This gem provides an installer to get you going with esbuild in a new Rails application.

Importmaps in Rails 7
Play
8:14

Importmaps in Rails 7

#312 Sep 5, 2021 free
Import maps let you import JavaScript modules using logical names that map to versioned/digested files – directly from the browser. This will be a default in the upcoming Rails 7.