Svelte Svelte
Docs
SvelteSvelteKitCLIAI
Blog
search ⌘K
  • Introduction

    • Overview
    • Getting started
    • .svelte files
    • .svelte.js and .svelte.ts files
  • Runes

    • What are runes?
    • $state
    • $derived
    • $effect
    • $props
    • $bindable
    • $inspect
    • $host
  • Template syntax

    • Basic markup
    • {#if ...}
    • {#each ...}
    • {#key ...}
    • {#await ...}
    • {#snippet ...}
    • {@render ...}
    • {@html ...}
    • {@attach ...}
    • {@const ...}
    • {@debug ...}
    • {let/const ...}
    • bind:
    • use:
    • transition:
    • in: and out:
    • animate:
    • style:
    • class
    • await
  • Styling

    • Scoped styles
    • Global styles
    • Custom properties
    • Nested <style> elements
  • Special elements

    • <svelte:boundary>
    • <svelte:window>
    • <svelte:document>
    • <svelte:body>
    • <svelte:head>
    • <svelte:element>
    • <svelte:options>
  • Runtime

    • Stores
    • Context
    • Lifecycle hooks
    • Imperative component API
    • Hydratable data
  • Misc

    • Best practices
    • Testing
    • TypeScript
    • Custom elements
    • Browser support
    • Svelte 4 migration guide
    • Svelte 5 migration guide
    • Frequently asked questions
  • Reference

    • svelte
    • svelte/action
    • svelte/animate
    • svelte/attachments
    • svelte/compiler
    • svelte/easing
    • svelte/events
    • svelte/legacy
    • svelte/motion
    • svelte/reactivity
    • svelte/reactivity/window
    • svelte/server
    • svelte/store
    • svelte/transition
    • Compiler errors
    • Compiler warnings
    • Runtime errors
    • Runtime warnings
  • Legacy APIs

    • Overview
    • Reactive let/var declarations
    • Reactive $: statements
    • export let
    • $$props and $$restProps
    • on:
    • <slot>
    • $$slots
    • <svelte:fragment>
    • <svelte:component>
    • <svelte:self>
    • Imperative component API

Svelte • Reference

Runtime warnings

On this page
  • Client warnings
  • Shared warnings

Client warnings

@include .generated/client-warnings.md

Shared warnings

@include .generated/shared-warnings.md

Edit this page on GitHub llms.txt
Previous Runtime errors Next Overview

On this page

  • Runtime warnings
  • Client warnings
  • Shared warnings