Custom Turbo Stream Actions
Play
15:20 CC

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 CC

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.

Saving Attributes with Hotwire
Play
20:10 CC

Saving Attributes with Hotwire

#373 Oct 30, 2022 pro
With Hotwire, we can create form where each input field is saved once a user has changed its value. We look at some of the common issues that you could run into when using Hotwire and some ways to mitigate those problems.

Mapbox Geolocation
Play
30:16 CC

Mapbox Geolocation

#372 Oct 23, 2022 pro
Using Hotwire and the Mapbox API, we can track the location of a user and playback their recorded GPS coordinates.

Hotwire Introduction
Play
23:56 CC

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.