Home / Function/ createHydrationEventRegex() — astro Function Reference

createHydrationEventRegex() — astro Function Reference

Architecture documentation for the createHydrationEventRegex() function in solid-component.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  41a82953_b646_6527_edac_079ffe4f5f29["createHydrationEventRegex()"]
  3ca6ecbf_cbec_c92e_be6f_54976de6eedd["solid-component.test.js"]
  41a82953_b646_6527_edac_079ffe4f5f29 -->|defined in| 3ca6ecbf_cbec_c92e_be6f_54976de6eedd
  3ac210dc_3e04_a544_471f_15eb1d840114["countHydrationEvents()"]
  3ac210dc_3e04_a544_471f_15eb1d840114 -->|calls| 41a82953_b646_6527_edac_079ffe4f5f29
  924b0c8e_aaad_a013_6d8b_a319c0ab700e["getFirstHydrationEventLocation()"]
  924b0c8e_aaad_a013_6d8b_a319c0ab700e -->|calls| 41a82953_b646_6527_edac_079ffe4f5f29
  style 41a82953_b646_6527_edac_079ffe4f5f29 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/solid-component.test.js lines 200–200

const createHydrationEventRegex = (flags) => new RegExp(/_\$HY.r\[/, flags);

Subdomains

Frequently Asked Questions

What does createHydrationEventRegex() do?
createHydrationEventRegex() is a function in the astro codebase, defined in packages/astro/test/solid-component.test.js.
Where is createHydrationEventRegex() defined?
createHydrationEventRegex() is defined in packages/astro/test/solid-component.test.js at line 200.
What calls createHydrationEventRegex()?
createHydrationEventRegex() is called by 2 function(s): countHydrationEvents, getFirstHydrationEventLocation.

Analyze Your Own Codebase

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

Try Supermodel Free