Skip to content

JSX preserve mode: hardcoded "JsxRuntime" #8079

Closed

Description

@cknitt

In js_dump.ml, the module name "JsxRuntime" is hardcoded. This may prevent JSX preserve mode from working correctly with runtimes other than React.

Activity

  1. cknitt commented on Dec 9, 2025

    @cknitt
    MemberAuthor

    (See #8077)

  2. cknitt commented on Oct 19, 2026

    @cknitt
    MemberAuthor

    This was fixed by #8754, which represents JSX elements explicitly in preserve mode. The hardcoded "JsxRuntime" module name no longer exists in the JS printer. Closing.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01Kr4cjoUi2f5VpMvE6wT9bo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions