Basecamp just released Hotwire ( https://hotwire.dev/ ), it's a collection of libraries which make creating blazingly fast frontends really simple with Ruby on Rails.
One of the most interesting parts, is how they did partial updates with turbo-rails ( https://github.com/hotwired/turbo-rails ), a few lines of code & you have an app which can update in real-time!
In this tutorial I run though how to setup the new hotwire stuff, and go though how to push new content to users.
https://rubygems.org/gems/hotwire-rails
Chapters
0:00 - What are we going to do?
0:44 - Prerequisites
1:20 - Adding the hotwire-rails gem
2:10 - What files did it change?
3:39 - Making a index.html.erb page realtime?
10:19 - Using a custom partial
14:23 - Appending a new partial to a list
15:36 - I'm swooning over hotwire
16:03 - Questions?
Support Me
/ mikerogers0
https://mikerogers.io
https://www.buymeacoffee.com/MikeRogers0
#Hotwire-rails
#RubyOnRails
#AwesomeRubyGems