Optimizing Third-Party Loading in Next.js (Houssein Djirdeh)
Presented at Next.js Conf 2023. View all talks from the conference here: https://www.youtube.com/playlist?list=PLBnKlKpPeagl57K9bCw_IXShWQXePnXjY Explore templates of sites built with Next.js: https://vercel.fyi/verceltemplates Check out the Vercel product tour: https://vercel.fyi/producttour Third-party resources can have a significant impact on the user experience of Next.js applications. They can slow down page load times and introduce performance bottlenecks. Additionally, many developers are unsure about the best approach to load popular third-parties. The Chrome Aurora team is developing @next/third-parties, a package that provides a collection of components and utilities for efficiently loading third-party libraries into your Next.js application. In this talk, we will explain our thinking behind @next/third-parties and show you how to use it in your own applications. We will also give you a preview of our plans for the future of this package.