Child(reaction);
        })

        app.ports.toggleFullscreen.subscribe(function (message) {
            document.body.requestFullscreen()
        });

        function startReconnectPolling() {
            if (socket) {
                return
            }
            clearInterval(reconnectInterval)
            app.ports.socketDisconnected.send("");
            reconnectInterval = setInterval(() => {
                if (socket) {
                    reconnectInterval()
                    return
       