Lamar
✅ How to notify clients when an db update occurs
No nothing like that. It's just a constraint I set myself because I wanted to learn more about Server Sent Events.
In my mind it made sense because I only seem to care about communicating from server to client.
I said I didn't need the bidirectional connection from WebSockets.
But it seems it would be easier to just use that
134 replies
✅ How to notify clients when an db update occurs
You are right, that's why I said it's "somewhat working"
I will try to replace that by sending a notification.
But now I wonder if the server will push to all clients or if only one client gets the data
I have only tested with 1 client open
134 replies