Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Registrarse

Iniciar sesión

Todos Nuevo Registrarse Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado

dorsk / banner.tsx

0 gustos
0 bifurcaciones
1 archivos
Última actividad 8 months ago
1 import { useCallback, useEffect, useState } from "react";
2
3 // Check that the Enzuzo script has loaded
4 // Polling is the only option for global variables that are not part of React
5 function useEnzuzoLoaded() {
6 const [isLoaded, setIsLoaded] = useState(false);
7
8 useEffect(() => {
9 if (isLoaded) return;
10 const interval = setInterval(() => {
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 7ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文