-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with React.StrictMode #228
Comments
Currently facing the same issue. Simple new NextJS installation. |
May I ask how to solve this problem |
I see, just remove<React. StrictMode> |
Thanks! I was wondering what i did wrong. Not sure what's causing this, even i had to remove <React. StrictMode> to get it to work. |
Any way to do this while not removing strict mode? |
@remoblaser To shut down React Strict Mode for now: https://nextjs.org/docs/pages/api-reference/next-config-js/reactStrictMode |
any solution other than removing strict mode? |
Environment
Code
Editor Component
App component
Describe
I'm trying to use the default functionalities but while using strict mode, the editor is not loading on the DOM.
![image](https://user-images.githubusercontent.com/28812308/222959578-2ff88ce3-53c8-4cb9-8364-137eba2d63df.png)
![image](https://user-images.githubusercontent.com/28812308/222959630-313122e2-650c-4e61-942d-cc54416c5142.png)
With strict mode:
Without strict mode:
The text was updated successfully, but these errors were encountered: