React

Deploy React apps in seconds.

Ship React, Vue, Svelte, and static sites to our global edge network. We handle the build process, asset optimization, and CDN routing.

Zero configuration.
Just push code.

Dock Hosting automatically detects Create React App, Vite, Next.js (Export), or any static site generator, runs the build command, and serves the static files.

Automatic Framework Detection

We know when to use `npm run build` vs `gatsby build`. We configure the output directory automatically.

SPA Routing

We automatically configure wildcard routing (redirecting 404s to index.html) for client-side routers like React Router.

package.json
{
  "name": "my-react-app",
  "version": "0.1.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview"
  }
}
Terminal
$dock deploy
> Analyzing project...
> Detected React (Vite)
> Installing dependencies (npm install)...
> Building static assets (npm run build)...
> Uploading to Global Edge CDN...
✔ Deployed securely to https://my-react-app.dockhosting.dev

Built for frontend
frameworks.

Global Edge CDN

Your compiled static assets are cached across hundreds of edge nodes globally for sub-50ms load times.

Atomic Deployments

Every git push creates a completely new, immutable build. Roll back to any previous version instantly.

Brotli/Gzip Compression

All text assets (HTML, CSS, JS) are automatically compressed using Brotli or Gzip to minimize bandwidth.

RuntimeNode.js (for build process)
Package Managersnpm, yarn, pnpm, bun
Build ToolsVite, Webpack, CRA, Parcel
ServingGlobal Edge CDN
Custom DomainsUnlimited with auto SSL
RoutingSPA Fallback supported

Powerful specifications.
Full compatibility.

We support all modern frontend frameworks. Your build runs in a high-powered container, and the output is distributed to the edge.

ReactReact
ViteVite
Vue.jsVue.js
SvelteSvelte
AngularAngular
TailwindTailwind

Frequently Asked Questions

Is static hosting free?

Yes! Static hosting is completely free on Dock Hosting with generous bandwidth limits.

Does React Router work?

Yes, we automatically rewrite 404s to index.html so client-side routing works seamlessly.

Do you support Server-Side Rendering (SSR)?

For SSR (like standard Next.js or Remix), we deploy a Node.js container instead of static hosting.

Start free.

Deploy your React app live to a name.dockhosting.dev domain instantly.