import {reactive} from "@peryl/react-compose"; export const LoadingText = reactive({ value: '...' }); setInterval(() => { if (LoadingText.value.length === 3) { LoadingText.value = '.'; } else { LoadingText.value += '.'; } }, 500);