Infinite Scrolling with Hotwire
Play
17:47 CC

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 CC

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.

TailwindUI Calendar
Play
40:00 CC

TailwindUI Calendar

#383 Jan 8, 2023 pro
The TailwindUI library provides static styled HTML examples, but this can be difficult to translate into a Rails application. In this episode, we take a look at one of the calendar examples and make it interactive with displaying days that have events as well as returning events on selected days.

Real-time Comments and Voting
Play
23:49 CC

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.

CSS and JS in Rails Engines
Play
22:04 CC

CSS and JS in Rails Engines

#442 Feb 11, 2024 pro
Setting up a Rails Engine with the TailwindCSS and Hotwire via Importmaps can be rather difficult. There's a lot of undocumented steps to take and it can be overwhelming to approach these problems. In this episode, we look at a step by step approach to both adding TailwindCSS and Turbo & Stimulus into a Rails Engine.