getFirstHydrationScriptLocation() — astro Function Reference
Architecture documentation for the getFirstHydrationScriptLocation() function in solid-component.test.js from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 93445bba_27ea_2f31_9a8f_65ac83a06ed8["getFirstHydrationScriptLocation()"] 3ca6ecbf_cbec_c92e_be6f_54976de6eedd["solid-component.test.js"] 93445bba_27ea_2f31_9a8f_65ac83a06ed8 -->|defined in| 3ca6ecbf_cbec_c92e_be6f_54976de6eedd 8d7f131b_07bd_b35f_794a_90796ba30270["createHydrationScriptRegex()"] 93445bba_27ea_2f31_9a8f_65ac83a06ed8 -->|calls| 8d7f131b_07bd_b35f_794a_90796ba30270 style 93445bba_27ea_2f31_9a8f_65ac83a06ed8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/solid-component.test.js lines 190–192
function getFirstHydrationScriptLocation(/** @type {string} */ html) {
return createHydrationScriptRegex().exec(html)?.index;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getFirstHydrationScriptLocation() do?
getFirstHydrationScriptLocation() is a function in the astro codebase, defined in packages/astro/test/solid-component.test.js.
Where is getFirstHydrationScriptLocation() defined?
getFirstHydrationScriptLocation() is defined in packages/astro/test/solid-component.test.js at line 190.
What does getFirstHydrationScriptLocation() call?
getFirstHydrationScriptLocation() calls 1 function(s): createHydrationScriptRegex.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free