_config.js — svelte Source File
Architecture documentation for _config.js, a javascript file in the svelte codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 10b7c7a0_8c3c_124e_81f8_bd4ba91c0c12["_config.js"] d952c6b0_fdc4_6752_d5aa_0b4adfa256ee["test.ts"] 10b7c7a0_8c3c_124e_81f8_bd4ba91c0c12 --> d952c6b0_fdc4_6752_d5aa_0b4adfa256ee 4ead6623_c53e_ab40_5690_64903d5addf1["svelte"] 10b7c7a0_8c3c_124e_81f8_bd4ba91c0c12 --> 4ead6623_c53e_ab40_5690_64903d5addf1 style 10b7c7a0_8c3c_124e_81f8_bd4ba91c0c12 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { flushSync } from 'svelte';
import { test } from '../../test';
export default test({
get props() {
return { n: 0 };
},
async test({ assert, component, logs }) {
assert.deepEqual(logs, [
'parent: $effect.pre 0',
'parent: nested $effect.pre 0',
'1: $effect.pre 0',
'1: nested $effect.pre 0',
'1: render 0',
'2: $effect.pre 0',
'2: nested $effect.pre 0',
'2: render 0',
'3: $effect.pre 0',
'3: nested $effect.pre 0',
'3: render 0',
'parent: render 0',
'1: $effect 0',
'2: $effect 0',
'3: $effect 0',
'parent: $effect 0'
]);
logs.length = 0;
flushSync(() => (component.n += 1));
assert.deepEqual(logs, [
'parent: $effect.pre 1',
'parent: nested $effect.pre 1',
'1: $effect.pre 1',
'1: nested $effect.pre 1',
'1: render 1',
'2: $effect.pre 1',
'2: nested $effect.pre 1',
'2: render 1',
'3: $effect.pre 1',
'3: nested $effect.pre 1',
'3: render 1',
'parent: render 1',
'1: $effect 1',
'2: $effect 1',
'3: $effect 1',
'parent: $effect 1'
]);
}
});
Domain
Subdomains
Functions
Dependencies
- svelte
- test.ts
Source
Frequently Asked Questions
What does _config.js do?
_config.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain, QualityControl subdomain.
What functions are defined in _config.js?
_config.js defines 2 function(s): default.props, default.test.
What does _config.js depend on?
_config.js imports 2 module(s): svelte, test.ts.
Where is _config.js in the architecture?
_config.js is located at packages/svelte/tests/runtime-runes/samples/lifecycle-render-order-for-children-4/_config.js (domain: BuildSystem, subdomain: QualityControl, directory: packages/svelte/tests/runtime-runes/samples/lifecycle-render-order-for-children-4).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free