Open warren-bank opened 4 months ago
I found a workaround that seems to work OK.. just thought I'd drop a note, in case anyone wants to dig deeper and find a better fix.
The issue started when:
After doing so, any +page.svelte containing:
+page.svelte
<pre>$isLoading = {$isLoading} ({typeof $isLoading})</pre> {#if $isLoading === false} OK! {/if}
..would finish loading about 50% to 70% of the time
My workaround was to modify how I initialize the libraries in my root layout:
import i18next from 'i18next' import {createI18nStore, isLoading} from 'svelte-i18next' i18next .init( {...}, (error) => { isLoading.set(!!error) } )
I found a workaround that seems to work OK.. just thought I'd drop a note, in case anyone wants to dig deeper and find a better fix.
The issue started when:
After doing so, any
+page.svelte
containing:..would finish loading about 50% to 70% of the time
My workaround was to modify how I initialize the libraries in my root layout: