View event duplicating when using Nextjs SSR and custom routing + Hits component rerendering after upgrading from 7.5.0 > 7.8.0 #6189
-
Hi all, hope you're doing well I need some help with this matter, I have been trying to find a solution to this since last week with no luck. Basically I have a use case where the user can navigate to the search category from a different page (not search page). Once you navigate from outside to the search page the insights view event gets triggered many times. I found that this only happens when I am using a custom routing. Steps to reproduce I am also facing another issue after updating from version 7.5.0 > 7.8.0 Steps to reproduce Live reproduction: I would really appreciate the help 🙏, let me know If something isn't clear |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @Ali-hd, Thanks a lot for the detailed reproduction, this made us identify the issue easily 🙏 I've opened a PR which should fix your 2nd issue : #6191 You may test it beforehand to see if it works for you ! (still looking at the first issue) |
Beta Was this translation helpful? Give feedback.
-
I will close this for now and create another question just for regarding duplicated events/queries |
Beta Was this translation helpful? Give feedback.
Hey @Ali-hd,
Thanks a lot for the detailed reproduction, this made us identify the issue easily 🙏
I've opened a PR which should fix your 2nd issue : #6191
You may test it beforehand to see if it works for you ! (still looking at the first issue)