Skip to content

Pinned react version breaks projects on newer React 19 patch versions #454

@margad

Description

@margad
  • Component or Package Name: jsx-email
  • Component or Package Version: 3.2.0

Expected Behavior / Situation

jsx-email should work with any React 19.2 patch version. If a project already has react@19.2.6 installed, jsx-email should reuse it.

Actual Behavior / Situation

The pnpm-workspace.yaml catalog pins react and react-dom to 19.2.5. Because catalog: resolves to an exact version, package manager installs a second copy of React (19.2.5) alongside the project's existing 19.2.6. This causes duplicate React instances in the tree and breaks the build.

Modification Proposal

Change the catalog entry from an exact pin to a caret range:

catalog:
  react: ^19.2.0
  react-dom: ^19.2.0

This lets package managers reuse whatever React 19 version the consuming project already has installed instead of installing a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions