Originally posted by **thoratica** January 10, 2024
Hi, I'm using Fresh with Partials enabled. I need a way to detect url changes when using Partials, but couldn't find a right one. I tried listening for popstate events, added anchors of each pages and used MutationObserver to observe the DOM changes and check the data-current and data-ancestor, etc.
Discussed in https://github.com/denoland/fresh/discussions/2233