Flexible Model-to-User Broadcasts with CableReady

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 https://rubyonrails.ba/single/flexible-model-to-user-broadcasts-with-cableready

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles