SolidJSS
SolidJSโ€ข3y ago
dmayo2

Page Refresh or Browser Button or ...

Good Day.
I'm trying to figure out if a page has been reloaded or entered naturally via a link, etc.

I've tried window.performance.getEntriesByType("navigation") but when I redirect via navigate('/page2') that api thinks the page was refreshed.

Suggestions?
Was this page helpful?