Mathis Møller on Twitter: "Jotai tip: It's possible to sync Jotai with the Next.js router using the atomWithHash util. You can even control what router event are suited for your use case.
Understanding Next.js routeChangeStart and router events - LogRocket Blog