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

How to build zero-CLS A/B tests with Next.js and Vercel Edge Config

Blog post from Vercel

Post Details
Company
Date Published
Author
Elijah Cobb, Samuel Foster, Anthony Shew
Word Count
1,848
Company Posts That Month
10
Language
English
Hacker News Points
2
Post removed?
No
Summary

A high-performance experimentation engine was built for vercel.com using Next.js and Vercel Edge Config. The goal was to create a culture of growth by leveraging A/B testing and experiments, while minimizing impact on end-users. The engine uses Edge Config to read dynamic data close to users, allowing for fast page loads with zero Cumulative Layout Shift (CLS). It also provides a standardized path to effective, high-performance experiments, including type safety, pre-rendering experiment variations, and dynamic routing. The engine's data fetching utilities ensure that users end up on the correct page variations, while its React context makes it easy to track analytics and collect data about experiments. With this engine, vercel.com can ship and iterate on experiments quickly and safely, without sacrificing performance or user experience.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Developer Experience 3 239 122 74 +35%
Edge Computing 1 13 9 5 -35%
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.