createMockSSRDOM() — vue Function Reference
Architecture documentation for the createMockSSRDOM() function in hydration.spec.ts from the vue codebase.
Entity Profile
Relationship Graph
Source Code
test/unit/modules/vdom/patch/hydration.spec.ts lines 6–11
function createMockSSRDOM(innerHTML) {
const dom = document.createElement('div')
dom.setAttribute(SSR_ATTR, 'true')
dom.innerHTML = innerHTML
return dom
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free