Replies: 2 comments 3 replies
-
I think it wouldn't be possible to help you without seeing the site and the code if possible. Is the site's source code published, and can you share the URL? |
Beta Was this translation helpful? Give feedback.
1 reply
-
It's not an issue connected to React or whatever, the widget were desined for sites with traditional page navigation so it doesn't listen to any non-reload navigation (which is used in NextJS in particular). A workaround for it is to reinitialize the widged on every navigation. I know it's not ideal and it's room for improvement in general. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using dynamic routing on a single-site project with the use of React and NextJS, using a link that leads to another page, then navigating back to the page where Remark42 is displayed, causes the comment counter to disappear.
Untested with pure React, all I know is that it didn't work with the
Link
component from NextJS (and their Router API as well), so it probably doesn't work properly in general.Any possible workaround to this? I am now forced to fetch the number of comments manually, but this does not have dynamic updates.
Beta Was this translation helpful? Give feedback.
All reactions