createHydrationScriptRegex() — astro Function Reference
Architecture documentation for the createHydrationScriptRegex() function in solid-component.test.js from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8d7f131b_07bd_b35f_794a_90796ba30270["createHydrationScriptRegex()"] 3ca6ecbf_cbec_c92e_be6f_54976de6eedd["solid-component.test.js"] 8d7f131b_07bd_b35f_794a_90796ba30270 -->|defined in| 3ca6ecbf_cbec_c92e_be6f_54976de6eedd af090423_7c56_e0ef_aff3_60e138eda359["countHydrationScripts()"] af090423_7c56_e0ef_aff3_60e138eda359 -->|calls| 8d7f131b_07bd_b35f_794a_90796ba30270 93445bba_27ea_2f31_9a8f_65ac83a06ed8["getFirstHydrationScriptLocation()"] 93445bba_27ea_2f31_9a8f_65ac83a06ed8 -->|calls| 8d7f131b_07bd_b35f_794a_90796ba30270 style 8d7f131b_07bd_b35f_794a_90796ba30270 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/solid-component.test.js lines 183–183
const createHydrationScriptRegex = (flags) => new RegExp(/_\$HY=/, flags);
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does createHydrationScriptRegex() do?
createHydrationScriptRegex() is a function in the astro codebase, defined in packages/astro/test/solid-component.test.js.
Where is createHydrationScriptRegex() defined?
createHydrationScriptRegex() is defined in packages/astro/test/solid-component.test.js at line 183.
What calls createHydrationScriptRegex()?
createHydrationScriptRegex() is called by 2 function(s): countHydrationScripts, getFirstHydrationScriptLocation.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free