-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Milestone
Description
Describe the bug
Layout load function runs on every navigation
Reproduction
Log to console when layout load function is executed and it happens on every navigation.
import type { LayoutServerLoad } from './$types'
export const load: LayoutServerLoad = async ({ }) => {
console.log('load /layout')
return {
name: 'My Site'
}
}Logs
No response
System Info
npmPackages:
@sveltejs/adapter-auto: next => 1.0.0-next.64
@sveltejs/kit: next => 1.0.0-next.415
svelte: ^3.44.0 => 3.49.0
vite: ^3.0.0 => 3.0.8Severity
blocking an upgrade
Additional Information
No response
csangonzo, aradalvand, gterras, mquandalle, KensukeOta and 2 more
Metadata
Metadata
Assignees
Labels
No labels