Deploy a React App
Your React app, live on its own URL in under a minute
Last updated: February 20, 2026React is the most popular frontend framework for a reason — and deploying it should be just as straightforward as building with it. Whether you scaffolded with Vite, Create React App, or a custom setup, ZeroDeploy takes your build output and puts it on a global edge network. No server config, no build queues.
Deploy in 3 steps
From zero to live in under a minute.
Create your React project
Scaffold a new project with the official Vite CLI.
npm create vite@latest my-app -- --template react Build for production
Run the build command to generate static output in dist/.
cd my-app && npm run build Deploy to ZeroDeploy
One command to push your site to the edge. It's live in seconds.
zerodeploy deploy --dir dist Things to know
React-specific tips to avoid common pitfalls.
- Client-side routing (React Router) requires a redirect rule. Create a
public/_redirectsfile with/* /index.html 200so deep links and page refreshes work. Learn more about redirects → - Vite outputs to
dist/by default. If you use Create React App instead, the output directory isbuild/. - Environment variables must be prefixed with
VITE_to be included in the build (e.g.,VITE_API_URL).
Everything you need
Deploy React apps with the features you'd expect from a modern hosting platform.
Instant Deploys
Push to deploy in under 5 seconds. No queues, no build minutes to worry about.
Preview URLs
Every deployment gets a unique URL. Share any version instantly with your team.
Custom Domains
Connect your own domain with automatic SSL. Just add a CNAME and you're live. Learn more →
GitHub Actions CI/CD
Deploy on every push with GitHub Actions. Get PR comments with preview URLs. Set up CI/CD →
Built-in Analytics
See traffic, top pages, referrers, and countries right in your dashboard. No third-party scripts. Learn more →
Forms That Just Work
Add action="/_forms/contact" to any form. Submissions appear in your dashboard. Learn more →
Deploy other frameworks
ZeroDeploy works with any static build output.
Pair with a backend
Ship your React app today
Free to start. Custom domains, preview URLs, and analytics included. Deploy in seconds, not minutes.