Skip to content

Error evaluating recursive modules #6555

Closed
@reck753

Description

@reck753

Hello 👋,

Appreciate the great effort on v11.

During the upgrade of my codebase from 10.1.4 to 11.0.0-rc.9, I've run into an issue with all recursive React components:

Cannot safely evaluate the definition of the recursively-defined module X

Here is a playground reproduction.

Versions:

  • rescript: "11.0.0-rc.9"
  • @rescript/core: "0.6.0"
  • @rescript/react: "0.12.0-alpha.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