Chris Oliver is the founder of GoRails, JumpStart Rails, Hatchbox and RailsBytes. He is also one of the hosts of the Remote Ruby podcast.
In this session, Chris is going to teach us Just Enough Hotwire for Rails developers.
Want to add some JavaScript sprinkles to your Rails app but don’t have the time to learn how to use Hotwire?
Not finding Hotwire intuitive and it’s taking you time (that you don’t have) to understand it?
★ About this session https://www.hexdevs.com/open-source-t...
Chapters
0:00 Welcome!
0:33 About hexdevs
2:44 Agenda
5:05 Chris Oliver says hi!
6:42 Is Hotwire going to become mainstream?
9:47 Hotwire - when to use it?
11:19 Turbolinks and Hotwire
13:24 Vue, ReactJS and Hotwire
14:26 How you can help Hotwire become more popular
15:20 Create a Rails 7 app with esbuild and TailwindCSS
17:25 Rails 7 features: Procfiles, JS and CSS bundles
19:00 Generating model for TODOs
19:43 Tailwind styling and forms
24:45 Turbo Streams for Realtime editing
27:15 How Turbo Stream events work
28:57 broadcasts_to and callbacks
31:38 How Chris contributes to Ruby on Rails
33:48 Adding broadcasts to a Model
37:30 Broadcasts and ActionCable
41:30 Inspecting Turbo Streams Websockets
47:17 turbo_frame_tag inline editing
53:20 AJAX requests with Stimulus
1:07:17 AJAX requests using form_with
1:12:43 Websockets Performance
1:14:06 Websockets Security
1:17:16 hexdevs Giveaway: One year of GoRails Winner
1:18:42 Migrating Webpacker to jsbundling-rails
1:24:26 Redis, ActionCable and Caching
1:27:36 Chris' deployment configurations
1:32:28 Conditional Rendering with Turbo Frames
1:34:56 HTTP2 vs Websockets
1:37:18 Stimulus Custom Elements
1:41:12 Final discussion
1:43:52 Closing remarks