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
Please update to V3.5.0, there are some issues with the beta versions
By default you shouldn’t have reference error client-side.
V3 cannot work server-side. Since you're using Nextjs your easiest option would be to turn off SSR with dynamic imports.
V4 will most probably work server-side but I can't give you an ETC on that at this time.
Hello @dev-juju, and thanks for your work!
I've found how to make your
v3
plugin working on Next in client mode, with your code here:#43 (comment)
and this on
next.config.js
:But it doesn't work in server mode:
Error: React is not defined
I don't know if the reduced bundle size of
v3
is only the drop of React,but if if I'm ok ton include React as a dependency, is there a way to tell your plugin to call the React dependency and make SSR work again©?
"editorjs-react-renderer": "^3.5.0-beta.3"
"next": "12.3.1"
"react": "^18.2.0"
Thanks!
The text was updated successfully, but these errors were encountered: