Rails World - Hotwire Cookbook - Yaroslav Shmarov: Common Uses, Essential Patterns & Best Practices -
19/10/2023
Free
SupeRails creator and Rails mentor Yaroslav Shmarov shares how some of the most common frontend problems can be solved with Hotwire.
He covers:
- Pagination, search and filtering, modals, live updates, dynamic forms, inline editing, drag & drop, live previews, lazy loading & more
- How to achieve more by combining tools (Frames + Streams, StimulusJS, RequestJS, Kredis & more)
- What are the limits of Hotwire?
- How to write readable and maintainable Hotwire code
- Bad practices
Slides available at: https://www.icloud.com/keynote/031WsmVqF1yJVtjl2riyTgw_A#RailsWorld_2023_Hotwire_Cookbook_Yaroslav_Shmarov
0:00 Intro
3:37 Turbo Drive
7:16 Turbo Frames
13:32 Git repo: https://github.com/yshmarov/hotwire-cookbook/
16:07 BACKEND -> FULLSTACK
16:57 Turbo Streams HTTP
20:38 Turbo Streams Broadcast/Websockets/ActionCable
24:10 StimulusJS
30:32 Just Enough Hotwire for Rails Developers video series: https://www.youtube.com/watch?v=csvaYIaBYpw&list=PLdTytUiloS16epXsqHswpCUMND_rksjr4
1
Sign in to join the conversation
Featured in playlists
![Live talk: Hotwire, ViewComponent, StimulusJS in production (my experience )](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTgzNSwicHVyIjoiYmxvYl9pZCJ9fQ==--38ab9efc6960571cec3677964cf441e4e3059723/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
![Yaroslav Shmarov - 18 months of using hotwire and viewcomponent in production - wroc_love.rb 2022](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MjI4NiwicHVyIjoiYmxvYl9pZCJ9fQ==--f11c8d9f2d2fb36cb49f2b65d6a64b528f809375/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
![Rails World - Hotwire Cookbook - Yaroslav Shmarov: Common Uses, Essential Patterns & Best Practices -](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTkzOCwicHVyIjoiYmxvYl9pZCJ9fQ==--32551262c66323e4cdf706ec665dbec80722e84a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
+1
Live talks