The chat client thing is pretty interesting, but there&#x27;s this little bit:<p>&gt; Use the browser API — To get started you just create a new web socket! Well, then you need to open the connection. But do not forget to add an onerror listener to detect when the connection goes down and try to reconnect with an exponential backoff strategy. And ......<p>How does handling errors happen I wonder. If you take FB messenger for example, you would queue up a message but if the sending failed you would get an opportunity to retry&#x2F;not send it at all.<p>I suppose in FB&#x27;s case you could write your own subscription provider...