I’m having issue with pushState. When i click on a post, it goes to new page via routes and back button works fine for first time, page return to home. But when i click on another post. That post loads twice. It slide animate once and then again in milliseconds. And when i click back button, it return back to same post once and then clicking back again will return to home.
Can someone please help how to fix it.
Thanks