Bootstrapping generates the values for a Statsig client SDK on a server that you manage - most commonly on your web server, so that you don’t have to make an extra network request for the SDK to be ready.
This means the Statsig SDK will be ready immediately, making your page more responsive and supporting metrics like your Core Web Vitals, and in turn your SEO.
Historically - Bootstrapping was tricky to setup in React, requiring a couple different server and client-side functions. We’ve now introduced the StatsigBootstrapProvider, which hides all of the necessary plumbing inside a server-side component so you can add a single component in your Layout.tsx to set everything up.
We're starting with support for Next.js apps, checkout the docs to get started!