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

Registrarse

Iniciar sesión


Todos Nuevo Registrarse Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
dorsk's Avatar

dorsk / banner.tsx

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1751413089
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: 53ms⋅

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