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.

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.

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.

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.

Inline Editing with Turbo
Play
10:32 CC

Inline Editing with Turbo

#381 Dec 25, 2022 pro
Using Turbo, we can create an interactive inline editing feature without writing any Javascript. In this episode, we look at some of the nuances with Turbo Streams and handling form errors.