Description
Using platejs > 52.0.1 with react@18 will cause this. Unfortunately it is hard for me to update react@19 at this time.
Reproduction URL
No response
Reproduction steps
Create a new React 18 project.
Install Plate.js version >52.0.1.
Import and use any Plate component.
Start the development server or build the app.
Observe the error: Cannot find module 'react/compiler-runtime'.
Plate version
52.0.1
Slate React version
default
Screenshots
Logs
Browsers
No response