Skip to content

Request to update the package for compatibility with React 19. #10

Description

@FACHINA

This request aims to update the package dependencies to ensure compatibility with React 19 and React DOM 19, preventing peer dependency conflicts during installation.

Current Issue

While installing dependencies with React 19, npm raises multiple warnings and errors related to peer dependency mismatches:

  • fedapay-reactjs specifically requires React ^18.3.1, which causes version resolution conflicts.
  • npm ERR! ERESOLVE overriding peer dependency occurs during installation.

Proposed Solution

  • Update peer dependencies to support React 19 ("react": ">=19.0.0", "react-dom": ">=19.0.0").
  • Test the build to ensure compatibility with React 19 features and the new JSX runtime.

Expected Outcome

  • Smooth installation with React 19 without peer dependency warnings or resolution conflicts.
  • Maintained backward compatibility with React 18 where possible.

Additional Notes

This update will make the package future-proof for projects migrating to React 19 and prevent installation issues like the one shown below:

npm ERR! ERESOLVE overriding peer dependency
npm WARN Could not resolve dependency: peer react@"^18.3.1" from fedapay-reactjs@1.1.2
Image

Activity

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