How to clear state in route change in Next.js app router
I am using latest version of next.js app router and i have a client component where I am using zustand for state management and when i am interacting and setting some state and navigate to other page and come back to same page the state is persisted. I don’t want that is there any solution for that.