Next.js-familiar · Vite-native

nlite

Next.js familiar React on Vite Native

Partial Pre-Rendering, SSR, and SSG on a familiar app/ directory. First-party adapters for Vercel, Cloudflare, Netlify, and any JS server, with the full Vite developer experience.

explorernlite/
  • ▸app/
  • ·layout.tsx
  • ·page.tsx
  • ·loading.tsx
  • ▸api/
  • ·status/route.ts
  • ·blog/[slug]/page.tsx
  • ·nlite.config.ts
posts.tsx
Origin
export async function Posts() {
  const posts = await listPosts();
  return (
    <ul>
      {posts.map((post) => (
        <li key={post.id}>{post.title}</li>
      ))}
    </ul>
  );
}
page.tsx
CDN
export default function Page() {
  return (
    <main>
      <h1>Posts</h1>
      <Suspense>

      </Suspense>
    </main>
  );
}

Partial Pre-Rendering

Make full use of your infra.

Cache a static shell on the CDN. Stream dynamic regions from origin when data is ready. One response, edge speed and live data.

Everything you need to get started

React Server Components

Async components on the server by default. Ship less JavaScript, keep data close to the source.

Streaming HTML

Progressive rendering as the tree resolves. Users see the shell while dynamic work finishes.

Vite-native DX

Instant server, HMR, and the Vite plugin graph. Wire it with defineConfig. No parallel toolchains.

File-based routing

Familiar app/ conventions: page, layout, loading, error, and nested segments.

SSR & SSG

Stream on request or prerender at build. Choose per route, or blend both with PPR.

Loading & error UI

Per-segment loading.tsx and error.tsx. Instant fallbacks while the rest of the tree streams.

Coming soon

Server Actions

Call server mutations from components without hand-rolled API routes.

Route Handlers

HTTP endpoints beside your UI in app/api — same tree, same deploy.

Nested layouts

Share chrome across segments. Soft navigation keeps layout state where it belongs.

First-party deploys

Adapters for Vercel, Cloudflare, Netlify, and any JS server ship with the framework.

import { defineConfig } from "nlite/config";


export default defineConfig({
  
});

Powered by Vite

Framework rails. Vite speed.

nlite is a React framework on Vite. You get framework conventions and the same DX Vite is known for.

Instant server start

Native ESM on demand with fast dependency pre-bundling. Cold starts in milliseconds.

Lightning-fast HMR

Edits land instantly at any app size. Keep scroll, focus, and local state.

Rich out of the box

TypeScript, JSX, CSS, workers, Wasm, and the Vite plugin ecosystem via defineConfig.

Optimized builds

Rollup-powered production output with code splitting, tree-shaking, and asset hashing built in.

Get started

Ship on Vite.
Keep the app/ you know.