3 ms·constructor() { super() this.state = { isConnected: Math.floor(Math.random() * 10) > 5 } }by faceyspacey 10y agoconstructor() { super() this.state = { isConnected: Math.floor(Math.random() * 10) > 5 } }