You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While upgrading to React 19, I encountered peer dependency issues with the Plasmo package. The current version (0.90.3) has dependencies that require react@^18.2.0 and react-dom@^18.2.0, which causes warnings when using React 19.
Warning Message
WARN Issues with peer dependencies found
.
└─┬ plasmo 0.90.3
└─┬ @plasmohq/parcel-config 0.42.0
├─┬ @parcel/config-default 2.9.3
│ └─┬ @parcel/optimizer-htmlnano 2.9.3
│ └─┬ htmlnano 2.1.1
│ └── ✕ unmet peer svgo@^3.0.2: found 2.8.0 in @parcel/optimizer-htmlnano
└─┬ @plasmohq/parcel-transformer-vue 0.5.0
└─┬ @plasmohq/consolidate 0.17.0
├── ✕ unmet peer react@^18.2.0: found 19.0.0
└── ✕ unmet peer react-dom@^18.2.0: found 19.0.0
Expected Behavior
Plasmo should support React 19 without peer dependency warnings.
Steps to Reproduce
Create a plasma app pnpm create plasmo
Observe the peer dependency warnings in the console.
What is the example you wish to see?
Description
While upgrading to React 19, I encountered peer dependency issues with the Plasmo package. The current version (
0.90.3
) has dependencies that requirereact@^18.2.0
andreact-dom@^18.2.0
, which causes warnings when using React 19.Warning Message
Expected Behavior
Plasmo should support React 19 without peer dependency warnings.
Steps to Reproduce
pnpm create plasmo
Possible Solution
@plasmohq/consolidate
and related dependencies to support[email protected]
and[email protected]
.peerDependencies
in Plasmo’s package.json to allow React 19.Environment
Additional Context
Would love to know if there's a roadmap for React 19 support or if there's a workaround for now. Thanks! 🚀
Is there any context that might help us understand?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: