Next.js Explained: Build Fast, Full-Stack React Apps
Next.js uses file-system based routing, meaning you can use folders and files to define routes.
Optional Dynamic Route Parameters & Search Parameters can be used in both Server & Client components.
Next.js comes with built-in prefetching, streaming, and client-side transitions ensuring navigation stays fast and responsive.
Static Site Generation (SSG) is the process of pre-rendering HTML pages at build time. These ready-made pages load very fast because they don't have to be built each time someone opens them.
Server-side Rendering (SSR) means the server creates a full HTML page for each request and sends it to the browser. This helps pages load faster and improves SEO by showing content immediately.
ncremental Static Regeneration (ISR) lets you update static pages after building your site without a full rebuild. It serves fast static pages and refreshes content in the background when needed.
Client-side transitions mean changing pages or content within a website using JavaScript in the browser. This avoids full page reloads, making navigation faster and smoother for users.
Prefetching is a technique where a browser loads resources or pages in the background before the user requests them, making future page loads faster and improving user experience.
Streaming in Next.js means sending parts of your page from the server to the browser as they are ready, so users see the content faster without waiting for the full page to load.
In Next.js, remotePatterns is a configuration option that allows us to specify which external image URLs can be optimized by Next.js.