Flexible Model-to-User Broadcasts with CableReady
23-Apr-2021 1164
Often in your reflexes, you end up wanting to notify other users than the current one hanging off a certain resource to be notified about changes, in one way or other. One user might add a comment or an emoji reaction that you want the others to see instantly, other times you might just want to dispatch a toast notification, what have you. You can easily make use of the implicit cable_ready channel that lives on every reflex:.
Flexible Model-to-User Broadcasts with CableReady #ruby #rubydeveloper #rubyonrails #Flexible #Model-to-User #Broadcasts #CableReady https://rubyonrails.ba/link/flexible-model-to-user-broadcasts-with-cableready