I try to replace ActionCable.server.broadcastwith Turbo::StreamsChannel.broadcast_replace_to to broadcast HTML partial to users.
It works. But I think ActionCable is the easier way in this case.
I try to replace ActionCable.server.broadcastwith Turbo::StreamsChannel.broadcast_replace_to to broadcast HTML partial to users.
It works. But I think ActionCable is the easier way in this case.