1 post found
May 20, 2026
Most modal implementations break the browser's back button and lose state on refresh. Next.js intercepting routes solve both problems through file-system conventions that map URLs to overlays.