Skip to content
Dashboard

Introducing Skew Protection

CTO, Vercel

A novel, more reliable mechanism for application deployment.

Copy link to headingVersion skew explained

form.tsx
< <input type="email" name="**emal**" />
---
> <input type="email" name="**email**" />

Copy link to headingHow Skew Protection works

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
useDeploymentId: true,
// If use with serverActions is desired
serverActions: true,
useDeploymentIdServerActions: true,
},
};
module.exports = nextConfig;

const r = await fetch("/get", {
headers: {
// Ensures the request will be handled by the expected
// deployment.
"X-Deployment-Id": deploymentId,
},
});

Copy link to headingThe mechanism explained

Copy link to headingTrade-offs and security considerations

Copy link to headingDeploy with confidence

Ready to deploy?