Skip to main content

Static Site Generation (SSG) with Next.js and LaunchDarkly

Next.js offers the ability to statically generate (aka prerender) routes in a React application. In this video, Developer Experience Engineer Brian Rinaldi https://twitter.com/remotesynth with LaunchDarkly explores how to tie feature management using the Launcharkly Node.js SDK to allow the the ability to toggle on and off features within a pre rendered Next.js page. In addition, we’ll see how to enable automatic rebuilds to regenerate any static assets impacted by a feature flag change. NodeJS SDK: https://docs.launchdarkly.com/sdk/server-side/node-js Using LaunchDarkly with NextJS Guide: https://docs.launchdarkly.com/guides/platform-specific/nextjs #LaunchDarkly #Nextjs #React Subscribe to LaunchDarkly: https://www.youtube.com/c/LaunchDarkly?sub_confirmation=1 Learn more about LaunchDarkly: Website: https://launchdarkly.com/ LinkedIn: https://www.linkedin.com/company/launchdarkly Twitter: https://twitter.com/launchdarkly About LaunchDarkly: Feature management allows development teams to innovate faster by fundamentally transforming how software is delivered to customers. With the ability to gradually release new software features to any segment of users on any platform, DevOps teams can standardize safe releases at scale, accelerate their journey to the cloud and collaborate more effectively with business teams. Today, LaunchDarkly deploys peaks of 20 trillion feature flags each day, and that number continues to grow. Founded in 2014 in Oakland, California by Edith Harbaugh and John Kodumal, LaunchDarkly has been named on the Forbes Cloud 100 list, InfoWorld’s 2021 Technology of the Year list, and the Enterprise Tech 30 list.