diff --git a/inlang/source-code/paraglide/paraglide-js-adapter-sveltekit/README.md b/inlang/source-code/paraglide/paraglide-js-adapter-sveltekit/README.md index 218b14518c..7d2fcb3a17 100644 --- a/inlang/source-code/paraglide/paraglide-js-adapter-sveltekit/README.md +++ b/inlang/source-code/paraglide/paraglide-js-adapter-sveltekit/README.md @@ -309,10 +309,13 @@ export async function load({ depends }) { } ``` +There currently is a caveat with this. When switching languages, any side-effects triggererd by `data` changing will be run twice if the data is language dependent. Once with the new language + old data and then with the new language + new data. We're working to fix this. + ## Caveats 1. Links in the same Layout Component as `` will not be translated. This will also log a warngin in development. 2. Messages are not reactive. Don't use them in server-side module scope. +3. Sideeffects triggered by `data` changing will be run twice if the data is language dependent. ### Using messages in `+layout.svelte`