Symptoms:
First, after clicking a different language (en), the on-mount log shows that there are two mounts happening after the language switch:
The language that was switched to
The language that it switched back to
Second, upon clicking a different language (en) again, it performs the intended functionality (changes language, normal mount).
The URL changes correctly on the first click.
There was one issue that has been closed. However, it seems that it has not been resolved yet.
https://github.com/opral/inlang-paraglide-js/issues/43
The author concluded to add a data-svelte-reload property to the anchor tag, but this solution causes layout repaints.
i used translator
https://github.com/opral/inlang-paraglide-js/assets/27078637/092e517c-2789-4eb5-926b-96eed9a32ef5
Symptoms: First, after clicking a different language (en), the on-mount log shows that there are two mounts happening after the language switch:
Second, upon clicking a different language (en) again, it performs the intended functionality (changes language, normal mount).
The URL changes correctly on the first click.
There was one issue that has been closed. However, it seems that it has not been resolved yet. https://github.com/opral/inlang-paraglide-js/issues/43 The author concluded to add a
data-svelte-reload
property to the anchor tag, but this solution causes layout repaints.https://github.com/XIYO/paraglidejs-test001