Skip to content
Dashboard

Introducing Skew Protection

CTO, Vercel

A novel, more reliable mechanism for application deployment.

Link to headingVersion skew explained

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

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,
},
});

Link to headingThe mechanism explained

Link to headingTrade-offs and security considerations

Link to headingDeploy with confidence