You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have notification functionality with a bell icon etc that updates the UI when new notifications are created. Everything is working as expected and when I create a notification (from the web console) I can see the broadcast_replace_to in the logs and also the html is received via a console.log in my channel.js. The issue is that it is not updating the DOM. I read about manually passing the payload to turbo stream via js and I also tried a variety of ways to do this however none worked.
Is there specific work or config necessary to get Broadcasting to update the DOM?
The text was updated successfully, but these errors were encountered:
I have notification functionality with a bell icon etc that updates the UI when new notifications are created. Everything is working as expected and when I create a notification (from the web console) I can see the broadcast_replace_to in the logs and also the html is received via a console.log in my channel.js. The issue is that it is not updating the DOM. I read about manually passing the payload to turbo stream via js and I also tried a variety of ways to do this however none worked.
Is there specific work or config necessary to get Broadcasting to update the DOM?
The text was updated successfully, but these errors were encountered: