Webclient: Handle firing an event once (#4499)

* draft: handle firing an event once

* lint

* Prevent rapid double-click on sending messages

* no rest spread on single primative when sibling components exist

* clear message instead of using a fireOnce handler.

* fix tests

* remove unnecessary validate mock
This commit is contained in:
Brent Clark
2022-01-30 12:14:28 -05:00
committed by GitHub
parent 4bb13677c8
commit 513fcb0908
16 changed files with 21467 additions and 161 deletions
+3 -1
View File
@@ -57,7 +57,9 @@ export class WebClient {
this.handleStatusChange(status);
});
console.log(this);
if (process.env.NODE_ENV !== 'test') {
console.log(this);
}
}
public connect(options: WebSocketConnectOptions) {