State resets on route change on production
Unanswered
African Slender-snouted Crocodil… posted this in #help-forum
African Slender-snouted CrocodileOP
I'm having a hard time figuring out how to solve this issue. Whenever I change route. The entire context seems to reset. Which prevents the user from having a seamless ux, as they have to wait a brief second for the context to set up.
All the routes in question are stored in /(dashboard), one directory deep from the root layout file. I've provided a screenshot of the directory of the files in question.
One thing that I have noticed is that the flashing doesn't happen if you navigate from a route in the /admin directory.
Any help would he highly appreciated. Thanks
All the routes in question are stored in /(dashboard), one directory deep from the root layout file. I've provided a screenshot of the directory of the files in question.
One thing that I have noticed is that the flashing doesn't happen if you navigate from a route in the /admin directory.
Any help would he highly appreciated. Thanks