Kinde user is lost in Nextjs development by HMR
Hi, i dont know how to debug this issue after a few saves user is lost i dont know why this happens i that network issue or whatever but its so annoying in development because user is lost there a lot of stuff happens in middleware and redirects as well
1 Reply
then i have to hardly refresh
I am using the app router
When redirected to home page it shows user is signed in
But when i click navbar link to go page where i was working
Its still redirects
To home page
Hmm i mean when i refresh browser everything works the oage what i was working on sees user again
In development i just abstracted the kinde getUser function and just return the test user
I could not think another solution
Thats okay, somone also said here that had same issue
I also dont know how to explain this later i will record small video