Topics include:

An overview of the new getStaticProps, getStaticPaths, and getServerSideProps APIsHow Next.js helps you serve static pages from an edge CDN automatically, without affecting the actual authoring experienceUsing getStaticPaths to statically pregenerate dynamic routesHow the fallback feature of getStaticPaths works and lets you statically render pages on-demand to avoid long build timesHow the upcoming incremental static generation feature will work in Next.jsDeploying Next.js to a platform other than Zeit, and how you retain all of Next’s benefits automaticallyHow getServerSideProps is different from getInitialPropsWhy getServerSideProps actually improves performance, even though it introduces another hopHow getServerSideProps results in smaller bundle sizes vs. getInitialPropsUsing getServerSideProps to safely talk directly to a database, skipping the need for an APIWhy Zeit as a company has started to favor client-side data fetching with SWR over getInitialProps/getServerSideProps, and how they are combining that with statically pregenerated “shells” for incredibly fast feeling experiencesWhat’s coming next in future releases

Links:

Next.jsNext.js 9.3 AnnouncementIncremental Static Generation RFCNext.js Code Elimination DemoSWR, ZEIT's data fetching library

Supporting the show:


I decided to stop taking sponsors for the show because I think advertisements are annoying and no one wants to listen to them.

If you do want to support the show, the best way to do it is to purchase one of my products:

Tailwind UI, a collection of professionally designed, fully responsive HTML components built with Tailwind CSSRefactoring UI, a book and video series I put together with Steve Schoger on designing beautiful user interfaces, without relying on a designer.Advanced Vue Component Design, a course on designing simpler, more flexible Vue components that are both more powerful and easier to maintain.Test-Driven Laravel, a massive video course on designing robust Laravel applications with TDD. Learn how to build a real-world application from scratch without writing a single line of untested code.Refactoring to Collections, a book and video course that teaches you how to apply functional programming principles to break down ugly, complex code into simple transformations — free of loops, complex conditionals, and temporary variables.