Home / Function/ svelte_component_deprecated() — svelte Function Reference

svelte_component_deprecated() — svelte Function Reference

Architecture documentation for the svelte_component_deprecated() function in warnings.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  3ade20e2_92f6_04d2_69fe_163a8b6f0b4c["svelte_component_deprecated()"]
  56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"]
  3ade20e2_92f6_04d2_69fe_163a8b6f0b4c -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475
  39b8e00c_24e5_3250_d478_1839c88a4abc["SvelteComponent()"]
  39b8e00c_24e5_3250_d478_1839c88a4abc -->|calls| 3ade20e2_92f6_04d2_69fe_163a8b6f0b4c
  style 3ade20e2_92f6_04d2_69fe_163a8b6f0b4c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/warnings.js lines 825–827

export function svelte_component_deprecated(node) {
	w(node, 'svelte_component_deprecated', `\`<svelte:component>\` is deprecated in runes mode — components are dynamic by default\nhttps://svelte.dev/e/svelte_component_deprecated`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does svelte_component_deprecated() do?
svelte_component_deprecated() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is svelte_component_deprecated() defined?
svelte_component_deprecated() is defined in packages/svelte/src/compiler/warnings.js at line 825.
What calls svelte_component_deprecated()?
svelte_component_deprecated() is called by 1 function(s): SvelteComponent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free