Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Making Next.js Navigation Fast af

Blog post from Upstash

Post Details
Company
Date Published
Author
Josh
Word Count
501
Language
English
Hacker News Points
-
Summary

The author discusses their decision to move away from using Next.js's default navigation due to its perceived slowness, opting instead for React Router to achieve faster page navigation in their applications. Inspired by Theo's approach used in his t3 chat app, the author outlines a method to implement React Router by installing it, creating a static app shell, updating the Next.js configuration to rewrite non-API routes, and defining routes within the React Router framework. This setup allows for full client-side routing in Next.js, enabling the creation of client components in a designated folder and utilizing React Router's navigation tools, resulting in an application with improved navigation speed. The author invites feedback and expresses openness to guest contributions on Upstash.