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.
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.