Episodes
Infinite Scrolling with Hotwire
Play
17:47

Infinite Scrolling with Hotwire

#338 Feb 27, 2022 pro
In this episode, we have a look at two different approaches for implementing an infinite scrolling feature within a Ruby on Rails application with Hotwire. The first method will use a Stimulus Controller to handle AJAX requests back to the Rails application. The second approach will not use any external library, other than Hotwire, nor any javascript to accomplish the infinite scrolling.

Private Chat Groups
Play
33:09

Private Chat Groups

#337 Feb 20, 2022 pro
In this episode, we look at broadcasting to private channels using stimulus controllers and turbo. We also look at the interactivity between two stimulus controllers and different ways of broadcasting to turbo streams.

Shopping Cart with Turbo
Play
58:12

Shopping Cart with Turbo

#334 Jan 30, 2022 pro
Shopping carts can be extremely complex as there are many moving parts involved. In this episode, we'll look at some of the considerations when adding this feature and build this implementation in Hotwire.

Real-time Comments and Voting
Play
23:49

Real-time Comments and Voting

#331 Jan 9, 2022 pro
Using Hotwire we'll create a comment and voting system from scratch without any javascript. With the help of Turbo, we enable real-time updates and broadcasts of comments and votes.

Dynamic Select Forms with Hotwire
Play
21:50

Dynamic Select Forms with Hotwire

#325 Nov 28, 2021 pro
Using StimulusJS and Turbo, we are able to dynamically update select input with content based on another select input. This allows for a seamless user experience while having a configurable and maintainable backend.