Router.push does not work. #15390
-
Bug reportDescribe the bug/markdown
/
To Reproduce |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I tested this in a local project and it works as expected. Codesandbox has a tendency to have unexpected results with Next.js projects in my personal experience. If you have a repository on GitHub that reproduces this I'd be happy to take a look. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/pruge/next-route-push When I try it still doesn't work. |
Beta Was this translation helpful? Give feedback.
-
Seems like the issue is with It seems that if you run |
Beta Was this translation helpful? Give feedback.
-
Thank you. I'll use @uiw/react-md-editor if it works by building. |
Beta Was this translation helpful? Give feedback.
Seems like the issue is with
@uiw/react-md-editor
. If you remove that from yourmarkdown.js
page it will render correctly when doing client side navigation.It seems that if you run
next build && next start
it works as well. So this seems to be some conflict between that package and local development in Next.