Acmion / svelte-kit-layout-multiple-slot-bug

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:Svelte 68.7%Language:HTML 17.4%Language:JavaScript 13.9%