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
@pixi/react v7 may need to it's peer dependencies updated to limit the range of react it is compatible with. i.e. 17-18
@pixi/react v8 should likely support React 18 & 19
Steps to Reproduce
Create a @pixi/react app using Next.js 15 and use the app router. -or-
Create a @pixi/react app using React 19.
I've been dreading this. I'm not sure it's going to be possible to support both versions of React with a single version of the lib. This is deffo on my radar, tho.
Current Behavior
Next.js 15 is using React 19.0.0-rc when you use the
app
folder, and all versions of@pixi/react
are using internal api's that break in React 19.See:
Expected Behavior
@pixi/react v7 may need to it's peer dependencies updated to limit the range of react it is compatible with. i.e. 17-18
@pixi/react v8 should likely support React 18 & 19
Steps to Reproduce
Create a @pixi/react app using Next.js 15 and use the app router.
-or-
Create a @pixi/react app using React 19.
Environment
@pixi/react
version: >=7.1.2pixi.js
version: >=7.4.2React
version: >=19.0.0-rcReactDOM
version: >=19.0.0-rcPossible Solution
pmndrs/react-three-fiber#3222 (comment)
Additional Information
Temporary workaround: downgrade to
Next@^14.2.16
.The text was updated successfully, but these errors were encountered: