-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
We have no load function in layout.svelte anymore, and an alternative like +layout.js is not working automatically because SvelteKit can call it after +page.js.
We can still use it if we will call directly await parent(); in each +page.js but looks like a hack, add extra boilerplate and reduce performance.
I suppose we should find a better place to init i18n and it shouldn't depend on the order of +layout.js and +page.js.
Metadata
Metadata
Assignees
Labels
No labels