This RFC outlines the biggest update to Next.js since it was introduced in 2016. Nested Layouts: Build complex applications with nested routes. Using React 18 Features: Streaming, Transitions, and Suspense. Client and Server Routing: Server-centric routing with SPA-like behavior. Improved Data Fetching: Fetch in layouts while avoiding waterfalls.

14m read timeFrom nextjs.org
Post cover image
Table of contents
TimelineMotivationTerminologyHow Routing Currently WorksIntroducing the App FolderDefining RoutesLayouts & Creating UIPagesLayout and Page BehaviorReact Server ComponentsData fetchingBehavior and priorityData fetching and rendering with React Server ComponentsConclusion
5 Comments

Sort: