TanStackT
TanStack14mo ago
7 replies
wet-aqua

How to differentiate between navigation from other page, and a full page refresh?

Is there a way to detect the difference between a page load after navigating from another page, or a page load from a full page refresh? They both have cause: enter, and I haven't found any other mechanism I can use for this either.

I intend to use it to control whether to scroll an element into view or not.
Was this page helpful?