Skip to content

Incompatible with React >=19 #488

@Qanpi

Description

@Qanpi

Expected Behavior

Package works with the newly released 19.0.0 version of React.

Actual Behavior

Crashes with 'Cannot read properties of undefined...'

Steps to Reproduce the Problem

  1. Install React 19 and @p5-wrapper/react
  2. Crash

Specifications

Package Version: 4.4.2

The wrapper itself doesn't seem to directly use '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', but the error propagates from somewhere in the dependency tree (?)

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