whatstaz
whatstaz
NNuxt
Created by whatstaz on 4/3/2024 in #❓・help
Where to fetch initial user data
That is kinda what I'm doing right now, I found my problem, I was calling my loadUserData in a default.vue layout (which loaded on the login page), after the login, it didn't trigger any more unless I refreshed. I tried the middleware but then it was triggering twice and I could not get rid of the hydration mismatch.
10 replies
NNuxt
Created by whatstaz on 4/3/2024 in #❓・help
Where to fetch initial user data
Okay thanks for the help!
10 replies
NNuxt
Created by whatstaz on 4/3/2024 in #❓・help
Where to fetch initial user data
Ah okay, does that still trigger when a user is trying to log in?
10 replies