Closed koolii closed 5 months ago
Having the same problem when upgrading to v10, I am on Windows 10, node v21.1.0
I had the same problem after the update
Facing same issue with v10, reverting back to 9.1.3 fixed the problem.
same here, nextjs 14.0.4, react 18.2.0
Same here
Should be addressed with the latest patch
Can confirm that the latest patch fixes it, thank you!
@Vinnl thanks for the confirmation!
hm, are you sure that getSnapshot
always the same value on server and client during hydration? if not, that could introduce subtle bugs.
Confirming that bumping from v10.0.0 to v10.0.4 worked for me too. Thanks everyone!
Do you want to request a feature or report a bug?
Report a bug with react-toastify@v10
it might be related below
where to be fixed
https://github.com/fkhadra/react-toastify/blob/91c29d72a64227d8c8f36e6969fac10c8db421df/src/hooks/useToastContainer.ts#L10-L11
What is the current behavior?
it occurs an error which says this title. following is the stack trace.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox (https://codesandbox.io/s/new) example below:
What is the expected behavior?
Components should be rendered
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?