Do you want to request a feature or report a bug?
BUG
What is the current behavior?
Notifications do not render after route change in Next.js 13+ build
Works fine in dev mode
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:
next build && next start
Any async function (server request for example)
router.push('/page-name')
render toast notification
What is the expected behavior?
Notifications to render like normal.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
"next": "14.0.1",
"react": "^18",
"react-dom": "^18",
"react-toastify": "^9.1.3",
Do you want to request a feature or report a bug? BUG
What is the current behavior?
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:
next build && next start
What is the expected behavior? Notifications to render like normal.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React? "next": "14.0.1", "react": "^18", "react-dom": "^18", "react-toastify": "^9.1.3",