TLDR Web Dev · ARTICLES & TUTORIALS
NEXT.JS 14 INTERCEPTING ROUTES
Summary from the TLDR Web Dev newsletter
Next.js 14’s App Router introduced intercepting routes, which allows users to intercept or stop the default routing behavior and present an alternate view or component when navigating through the UI while still preserving the intended route for scenarios like page reloads. This can be useful if you want to show a route while keeping the context of the current page. This post provides practical examples of when intercepting routes can be used to improve your website’s UX.