Episode Summary
Executive Summary: The episode compares Gatsby and Next.js as converging—but still distinct—frameworks for building modern websites. The hosts break down rendering, static generation, data fetching, routing, images, plugins, auth, and e-commerce, arguing that Next is better for flexible server-side and app-like needs while Gatsby shines for static sites and content workflows. They conclude there’s no universal winner, only better fits per use case.
Main Topics: Rendering and static generation: Both frameworks can render HTML, but Gatsby does it at build time while Next can render on demand and mix static and server-side pages per route. Re-rendering and incremental updates: Gatsby Cloud can partially rebuild and redeploy changed pages; Next offers ISR-style revalidation to regenerate stale pages after requests. Data management philosophy: Gatsby centralizes data into a GraphQL layer with automatic sourcing, while Next stays agnostic and expects the developer to bring their own data tools. Dynamic pages and routing: Next handles dynamic and server-rendered pages more naturally; Gatsby requires prebuilding permutations or falling back to client-side fetching. Both use file-based routing, but the hosts criticize poor nested routing and page transition ergonomics. Images and media optimization: A major comparison point is image handling: Next introduced an image component, while Gatsby had strong image tooling and later teased a simpler static image API. Both optimize resize, lazy load, and WebP delivery. Serverless, hosting, and SEO: Gatsby is easy to host anywhere as static assets; Next adds API routes and serverless-style capabilities, especially on Vercel. Both are described as good for SEO because they can serve rendered HTML. E-commerce, auth, and ecosystem tradeoffs: The hosts argue neither framework fully solves auth or e-commerce; these areas usually require third-party platforms or custom backend services. Gatsby has stronger plugin culture, while Next emphasizes flexibility over built-ins.
Key Arguments: Gatsby is strongest when content can be fully prebuilt at build time, while Next is better when pages need runtime data, server-side rendering, or mixed rendering modes. Next’s ability to mix static and server-rendered pages on a per-route basis is presented as one of its killer features. Gatsby Cloud’s partial rebuilds narrow the gap between static builds and server-rendered freshness, but the workflow still depends on paid tooling and data-source integration. A big conceptual difference is that Next is essentially 'bring your own data,' while Gatsby is 'bring your own frontend' only in a looser sense because it normalizes data into GraphQL for you. Dynamic, filter-heavy pages are awkward in Gatsby because every permutation cannot realistically be pre-rendered, forcing client-side fetching and added loading states. Routing is seen as a weak spot for both platforms compared with React Router-style nested routes, especially for complex page transition animations and nested layouts. Next’s new image tooling narrows an important gap, but Gatsby’s historical image optimization and new experimental simplified image API remain compelling. Auth and e-commerce are not native strengths of either framework; the hosts recommend dedicated solutions rather than rolling everything yourself.
Data Points: Next.js version: Next 10 - Referenced as a major release that added an early image component and reinforced the comparison with Gatsby. Previous version milestone: Next 9 - Mentioned as the release that introduced statically rendered APIs and mixed rendering modes. Revalidation window: 1 second - Used in the Syntax website example to show Next.js revalidation of statically generated pages after they become stale. Rebuild time: seconds - Gatsby Cloud was described as regenerating changed content in seconds. E-commerce comparison: 100 shoes - Used as an example dataset to explain how combinatorial dynamic filters explode in complexity. Filtering permutations: Exponentially large - Used to describe the number of possible category/color/size combinations for product pages. Plugin ecosystem scale: Many plugins - Gatsby was described as having a rich plugin ecosystem from early on, though no exact count was given. Reaction Commerce popularity: 10,000+ GitHub stars - Mentioned as an example of a modern commerce platform used in the discussion. Course update cadence: 1 new course per month - Mentioned during shameless plugs for Level Up Tutorials. Sale discount: 50% - The annual subscription sale for Level Up Tutorials Pro was said to save 50%. Utility price: $7 - The Cobra Drain Zip It tool was described as costing seven dollars. Free usage tier: Double the free usage tier - Sanity sponsorship offer for using the syntax referral link.
Pivotal Quotes: "use Gatsby for websites and Next for apps" — Wes: Recalls the older rule of thumb and sets up the discussion of how the frameworks have converged. "Next is a platform where the front end is not flexible and it's bring your own data" — Scott: A key conceptual distinction Scott uses to contrast Next with Meteor and Gatsby-like workflows. "Gatsby is a platform where the data is not flexible and it's bring your own front end" — Scott: Paired with the previous quote to define the philosophical difference between the frameworks.
Implications: For developers, the choice is increasingly about workflow fit rather than winner-take-all superiority. Next is moving toward full-stack flexibility, while Gatsby is pushing deeper into content and build-time optimization. Teams should pick based on data freshness, content scale, and backend needs.
About Syntax - Tasty Web Development Treats
View all episodes from Syntax - Tasty Web Development Treats