Home / Function/ node_invalid_placement_ssr() — svelte Function Reference

node_invalid_placement_ssr() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  26a7a8d0_0795_b4a2_1180_25080b73f735["node_invalid_placement_ssr()"]
  56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"]
  26a7a8d0_0795_b4a2_1180_25080b73f735 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475
  874d992f_5e60_ebce_f4ce_ea5fed014bc4["RegularElement()"]
  874d992f_5e60_ebce_f4ce_ea5fed014bc4 -->|calls| 26a7a8d0_0795_b4a2_1180_25080b73f735
  style 26a7a8d0_0795_b4a2_1180_25080b73f735 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/warnings.js lines 793–795

export function node_invalid_placement_ssr(node, message) {
	w(node, 'node_invalid_placement_ssr', `${message}. When rendering this component on the server, the resulting HTML will be modified by the browser (by moving, removing, or inserting elements), likely resulting in a \`hydration_mismatch\` warning\nhttps://svelte.dev/e/node_invalid_placement_ssr`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free