Home / File/ warnings.js — svelte Source File

warnings.js — svelte Source File

Architecture documentation for warnings.js, a javascript file in the svelte codebase. 1 imports, 1 dependents.

File javascript ServerRuntime Serialization 1 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  71b259bd_5f72_cc6d_b70f_26cc5271a43c["warnings.js"]
  c9866d91_a204_fa55_a9e3_6bcc6aaaec1e["esm-env"]
  71b259bd_5f72_cc6d_b70f_26cc5271a43c --> c9866d91_a204_fa55_a9e3_6bcc6aaaec1e
  25166256_49ce_81f2_0877_fdbc689bed91["renderer.js"]
  25166256_49ce_81f2_0877_fdbc689bed91 --> 71b259bd_5f72_cc6d_b70f_26cc5271a43c
  style 71b259bd_5f72_cc6d_b70f_26cc5271a43c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/* This file is generated by scripts/process-messages/index.js. Do not edit! */

import { DEV } from 'esm-env';

var bold = 'font-weight: bold';
var normal = 'font-weight: normal';

/**
 * A `hydratable` value with key `%key%` was created, but at least part of it was not used during the render.
 * 
 * The `hydratable` was initialized in:
 * %stack%
 * @param {string} key
 * @param {string} stack
 */
export function unresolved_hydratable(key, stack) {
	if (DEV) {
		console.warn(
			`%c[svelte] unresolved_hydratable\n%cA \`hydratable\` value with key \`${key}\` was created, but at least part of it was not used during the render.

The \`hydratable\` was initialized in:
${stack}\nhttps://svelte.dev/e/unresolved_hydratable`,
			bold,
			normal
		);
	} else {
		console.warn(`https://svelte.dev/e/unresolved_hydratable`);
	}
}

Domain

Subdomains

Dependencies

  • esm-env

Frequently Asked Questions

What does warnings.js do?
warnings.js is a source file in the svelte codebase, written in javascript. It belongs to the ServerRuntime domain, Serialization subdomain.
What functions are defined in warnings.js?
warnings.js defines 1 function(s): unresolved_hydratable.
What does warnings.js depend on?
warnings.js imports 1 module(s): esm-env.
What files import warnings.js?
warnings.js is imported by 1 file(s): renderer.js.
Where is warnings.js in the architecture?
warnings.js is located at packages/svelte/src/internal/server/warnings.js (domain: ServerRuntime, subdomain: Serialization, directory: packages/svelte/src/internal/server).

Analyze Your Own Codebase

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

Try Supermodel Free