Home / Companies / Vercel / Blog / Post Details
Content Deep Dive

Flags as code in Next.js

Blog post from Vercel

Post Details
Company
Date Published
Author
Dominik Ferber
Word Count
2,929
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

The article discusses the usage of feature flags in Next.js using Vercel's Flags SDK. It introduces a new Flags SDK that works with any feature flag provider or when no flag provider is used, and explains how it can be integrated into applications to follow best practices for using feature flags and experiments while keeping websites fast. The article also provides examples of basic usage, overriding from Vercel Toolbar, using environment variables, Edge Config, and feature flag providers. It concludes by stating that the Flags SDK allows developers to choose the right tradeoff for each feature flag without having to refactor the code actually using the flags.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 1 441 120 76 -21%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.