Closed jan0991 closed 6 years ago
This is happening for all pages to me. With browser back and forth, the state gets reset. Can you tell how you solved this issue ?
Page A :
Page B :
@jan0991 did you solve the problem ? If yes, how ? Thank you
@jan0991 Hello. I have some trouble. Can you show way to fix it? Thanks.
@kokno check using Link from '.../routes' or 'next/link',
@kokno @VadyaVL how did you guys fix this issue?
I'm running into the same issue although I am not using Redux. Does anyone have a solution for this?
I am using next-redux-wrapper and it preserves state fine as long as I am switching between same level pages. For example:
domain.com -> domain.com/profile
domain.com/profile -> domain.com/some-other-page
However, state get's lost(redux re-creates new store) when I do:
domain.com -> domain.com/profile/:slug