Home / File/ PreactRuntimeError.jsx — astro Source File

PreactRuntimeError.jsx — astro Source File

Architecture documentation for PreactRuntimeError.jsx, a javascript file in the astro codebase. 1 imports, 0 dependents.

File javascript E2ETesting TestFixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  8c0f9a5b_8ed8_6739_8229_4e0a2d7af1a9["PreactRuntimeError.jsx"]
  0fef379e_25c0_6f95_11fd_6d0f7db42b7e["preact"]
  8c0f9a5b_8ed8_6739_8229_4e0a2d7af1a9 --> 0fef379e_25c0_6f95_11fd_6d0f7db42b7e
  style 8c0f9a5b_8ed8_6739_8229_4e0a2d7af1a9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { h } from 'preact';

export default function PreactRuntimeError({shouldThrow = true}) {
  if (shouldThrow) throw new Error('PreactRuntimeError')
  return <div>I shouldn’t be here</div>;
}

Domain

Subdomains

Dependencies

  • preact

Frequently Asked Questions

What does PreactRuntimeError.jsx do?
PreactRuntimeError.jsx is a source file in the astro codebase, written in javascript. It belongs to the E2ETesting domain, TestFixtures subdomain.
What functions are defined in PreactRuntimeError.jsx?
PreactRuntimeError.jsx defines 1 function(s): PreactRuntimeError.
What does PreactRuntimeError.jsx depend on?
PreactRuntimeError.jsx imports 1 module(s): preact.
Where is PreactRuntimeError.jsx in the architecture?
PreactRuntimeError.jsx is located at packages/astro/e2e/fixtures/errors/src/components/preact/PreactRuntimeError.jsx (domain: E2ETesting, subdomain: TestFixtures, directory: packages/astro/e2e/fixtures/errors/src/components/preact).

Analyze Your Own Codebase

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

Try Supermodel Free