Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

Registrar-se

Entrar


Todos Novo Registrar-se Entrar

Todos os gists

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
dorsk's Avatar

dorsk / banner.tsx

0 curtidas
0 bifurcações
1 arquivos
Última atividade 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(() => {
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 137ms⋅

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