Skip to content

JSX preserve mode depends on ReactDOM #8172

@dkirchhof

Description

@dkirchhof

While helping a user in the forum, we caught an compiler error in this situation:

  • jsx preserve mode
  • no ReactDOM as depdendency
  • no custom jsx module
  • (rescript 12.0.1)

I am not familiar with his, nor with any other use case, so I don't have a repo ready or the exact error message, but could reproduce it.

For reference: https://forum.rescript-lang.org/t/simple-way-to-convert-jsx-to-dom/7085/2

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