You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upper most layout (the one with the auth) gets invalidated, causing the entire app to reload its data. Since im using promise based responses, my "loading animation" gets played again. Since this happens every 15-30 minutes (or sometimes on tab changes), this gets quite annoying for the user.
Is there a way to implement the refresh, without invalidating the layout? Is it possible to just refresh the locally stored session, since the server gets its session via the hook.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got a problem with the SvelteKit implementation of Suapbase SSR.
When implementing this part:
The upper most layout (the one with the auth) gets invalidated, causing the entire app to reload its data. Since im using promise based responses, my "loading animation" gets played again. Since this happens every 15-30 minutes (or sometimes on tab changes), this gets quite annoying for the user.
Is there a way to implement the refresh, without invalidating the layout? Is it possible to just refresh the locally stored session, since the server gets its session via the hook.
Thanks for any ideas =)!
Beta Was this translation helpful? Give feedback.
All reactions