Cache components preserve state across navigations.
Unanswered
Giant panda posted this in #help-forum
Giant pandaOP
Have cache components enabled and I noticed that it preserved state when navigating between pages.
For example. I can sign into my app in the log in page, get redirected to home page and then sign out. Go back to the login page and the email and password I had entered are still there. I know I can just clear the form but this same pattern happens all across the app to where I have to manually reset states on navigation so that it's not preserved when I come back to that route.
I believe I read in the nextjs docs that cache component opts the entire app into the new react Activity api? Which would explain this behavior but is there a way to opt out of this behavior? Is this not something others are running into?
For example. I can sign into my app in the log in page, get redirected to home page and then sign out. Go back to the login page and the email and password I had entered are still there. I know I can just clear the form but this same pattern happens all across the app to where I have to manually reset states on navigation so that it's not preserved when I come back to that route.
I believe I read in the nextjs docs that cache component opts the entire app into the new react Activity api? Which would explain this behavior but is there a way to opt out of this behavior? Is this not something others are running into?