If I open multiple browser windows, the client gets overridden on the backend service implementation.
The backend example either has to maintain an array of connected clients (and should remove the client on browser windows close), or the service should be connection scoped so that each frontend gets its service instance.
If I open multiple browser windows, the
client
gets overridden on the backend service implementation.The
backend
example either has to maintain an array of connected clients (and should remove the client on browser windows close), or the service should be connection scoped so that each frontend gets its service instance.