Posts tagged “routing”
4 posts found
Next.js useRouter vs redirect vs permanentRedirect in App Router: Choosing the Right Navigation Primitive
September 10, 2026
Master Next.js App Router navigation by understanding when to use useRouter, redirect, and permanentRedirect. Learn the technical differences, performance implications, and real-world patterns that prevent runtime crashes and SEO penalties.
Next.js Intercepting Routes: Modal Patterns Done Right
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.
Next.js App Router: Layouts vs Templates Explained
May 17, 2026
Most Next.js routing problems stem from choosing the wrong wrapper component. Learn exactly when to use layouts versus templates, and why the distinction matters for state persistence and performance.
Build a Stunning Breadcrumb Component in React with Plain CSS
June 18, 2019
By the end of this tutorial you should be able to learn how to create a stunning breadcrumb component in react using plain css