Real-Time Page Updates With Hotwire in Just 5 Minutes

  Рет қаралды 4,204

Mix & Go

Mix & Go

Күн бұрын

Пікірлер: 19
@lorenzozuluaga4309
@lorenzozuluaga4309 2 жыл бұрын
Definitely one of the best explanations I've found, you got a new subscriber!
@mixandgo
@mixandgo 2 жыл бұрын
Thanks man
@AngelPadillam
@AngelPadillam Жыл бұрын
I had a issue in the user.rb raising *undefined method `dom_id'* after updating an user, I just had to manually set the *broadcast_replace_later_to "users_list", target: "#{dom_id self.id}_row"* to broadcast_replace_later_to "users_list", target: "user_#{self.id}_row". And with that it works, thanks for the video.
@muronuck
@muronuck 2 жыл бұрын
Another great video! These have been so helpful, excited for your course 👍🏻
@mixandgo
@mixandgo 2 жыл бұрын
Happy to hear that :)
@Deanin
@Deanin 2 жыл бұрын
Helpful as always! Also explained why the broadcasts were blocking for me haha. Appreciate it!
@mixandgo
@mixandgo 2 жыл бұрын
Thanks man!
@haroldpepete
@haroldpepete 2 жыл бұрын
great video, thanks
@al-mokhtar_
@al-mokhtar_ 2 жыл бұрын
love it thank you !
@mixandgo
@mixandgo 2 жыл бұрын
Glad to hear that :) Thank you.
@dmitriyobidin6049
@dmitriyobidin6049 2 жыл бұрын
What if we have different pages where we need to display status in different format. On one page it's table of users, on another it's card, etc. Would that naming convention "dom_id user"_row make sense if we don't have rows in every page/template that should be updated?
@mixandgo
@mixandgo 2 жыл бұрын
The only condition is for it to be unique on the page. You can name it however you want.
@xaogao
@xaogao 2 жыл бұрын
thx
@al-mokhtar_
@al-mokhtar_ 2 жыл бұрын
can you do it maybe later with anycable ?
@mixandgo
@mixandgo 2 жыл бұрын
Maybe, I don't know. What are you using it for?
@al-mokhtar_
@al-mokhtar_ 2 жыл бұрын
@@mixandgo anycable they said more efficient than actioncable for large apps 🤭if you got time to replace actioncable by anycable and use it instead for this app will be great tuto, you know just saying 🤗
@acemav
@acemav 2 жыл бұрын
I don't learn anything from this video.
@mixandgo
@mixandgo 2 жыл бұрын
I'm sorry to hear that. What seems to be the confusion?
@dexternepo
@dexternepo 2 жыл бұрын
This is just a show case of a feature that is available and not an in-depth tutorial.
Turbo Frames vs. Turbo Streams
8:25
Mix & Go
Рет қаралды 19 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
RailsConf 2022 - React-ing to Hotwire by David Hill
22:49
Ruby Central
Рет қаралды 6 М.
The Ruby On Rails Junior Developer Problem
16:03
Deanin
Рет қаралды 20 М.
Dynamic Select Fields in Rails using Hotwire
19:46
GoRails
Рет қаралды 25 М.
Hotwire: The Demo
12:55
Getting Real
Рет қаралды 38 М.
Ruby on Rails #60 Hotwire Turbo Streams Autocomplete Search
27:28
Rails 8 + Hotwire Live Reload: Stop Refreshing Your Browser!
5:34
Rails Quest by Kaleb Lape
Рет қаралды 894
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 203 М.
Digging into Turbo with Ruby on Rails 7
44:50
webcrunch
Рет қаралды 16 М.