Hypertune with Vercel Edge Config

This example shows how to use the Hypertune integration with Edge Config.

React Server Component (RSC) flag: true

React Client Component (RCC) flag: true

Once you've deployed this project, open the Hypertune console and try updating your feature flag logic.

To develop your project locally:

  • Clone your project's repository and cd into it
  • Run vercel link to link to the Vercel project
  • Run vercel env pull .env.development.local to pull your environment variables
  • Run npm i
  • Run npm run dev

This example assumes your Hypertune project has an exampleFlag feature flag.

To add a new feature flag, create it in the Hypertune console, then regenerate the client with npx hypertune so you can access it with end-to-end type-safety.