Home / File/ jsx-runtime.ts — astro Source File

jsx-runtime.ts — astro Source File

Architecture documentation for jsx-runtime.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  28b412f1_a671_b12d_0489_e617c992891c["jsx-runtime.ts"]
  9afa48ee_de44_cda9_5693_53a93daeb4fb["jsx-runtime"]
  28b412f1_a671_b12d_0489_e617c992891c --> 9afa48ee_de44_cda9_5693_53a93daeb4fb
  style 28b412f1_a671_b12d_0489_e617c992891c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// This module is a simple wrapper around react/jsx-runtime so that
// it can run in Node ESM. 'react' doesn't declare this module as an export map
// So we have to use the .js. The .js is not added via the babel automatic JSX transform
// hence this module as a workaround.
import jsxr from 'react/jsx-runtime';

const { jsx, jsxs, Fragment } = jsxr;

export { jsx, jsxs, Fragment };

Dependencies

  • jsx-runtime

Frequently Asked Questions

What does jsx-runtime.ts do?
jsx-runtime.ts is a source file in the astro codebase, written in typescript.
What does jsx-runtime.ts depend on?
jsx-runtime.ts imports 1 module(s): jsx-runtime.
Where is jsx-runtime.ts in the architecture?
jsx-runtime.ts is located at packages/integrations/react/src/jsx-runtime.ts (directory: packages/integrations/react/src).

Analyze Your Own Codebase

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

Try Supermodel Free