We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite dev
$isLoading
true
false
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) } )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: