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
I'm porting a react webapp to svelte, and I have a need to know when a page was loaded by push/replace or because the user pressed the browser's back button or if window.history.go(-1) method was called.
For this, I'm using my own code (below), but I would like to know if sveltekit could officially inform that.
Describe the proposed solution
This is working for my use case,
but I'm sure it doesn't work for all cases
Describe the problem
I'm porting a react webapp to svelte, and I have a need to know when a page was loaded by push/replace or because the user pressed the browser's back button or if window.history.go(-1) method was called.
For this, I'm using my own code (below), but I would like to know if sveltekit could officially inform that.
Describe the proposed solution
This is working for my use case,
but I'm sure it doesn't work for all cases
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: