svelte-kit-layout-multiple-slot-bug Svelte Themes

Svelte Kit Layout Multiple Slot Bug

A minimal reproduction of a bug with SvelteKit's __layout.svelte when using multiple slots.

Multiple <slot> in __layout.svelte Bug

Using multiple slots in __layout.svelte can cause flickering. This is a minimal reproduction of the bug.

Instructions

  • Clone
  • npm install
  • npm run dev
  • Navigate to app
  • Inspect the flickering of the app.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes