digitallyinduced / ihp-chat-example-app

Example project showing the project structure of a simple chat app built with IHP
9 stars 5 forks source link

Live demo: updating from browser #2 does not update browser #1 #4

Open benjamin-thomas opened 2 years ago

benjamin-thomas commented 2 years ago

Considering this is a chat app, it looks like a bug.

Reading the Auto Refresh documentation, it sounds like all the connected websocket clients should get an update after table row insertions.

If I post twice on the same browser, I can see 2 ws created, rather than the first one receiving new messages