nextrs
Docs Page + Loading + Layout GitHub
  • Why nextrs
  • Why nextrs over Next.js
  • Guides
  • Getting Started
  • Routing Conventions
  • Streaming
  • Typesafe Client Generation
  • Deploy
  • Deploy to Vercel
  • Deploy with Docker
  • Roadmap
  • React Pages & Server Props (Preview)
  • For LLMs
  • llms.txt
  • llms-full.txt

Documentation

Guides for building and deploying nextrs apps. The same markdown sources that render these pages also generate llms.txt and llms-full.txt, so the human docs and the LLM docs can't drift apart.

Why nextrs

Why nextrs over Next.js

Same app, same UI, same database — measured head to head, twice: a minimal app and a real production app converted end-to-end

Guides

Getting Started

Set up a nextrs app: the app/ tree, build-time codegen, and the dev loop

Routing Conventions

page, layout, loading, middleware, and route files — what each does and how they compose

Streaming

How loading slots stream the shell before the page resolves — and how to verify it

Typesafe Client Generation

Generate a typed TypeScript / React Query client from your route.rs handlers

Deploy

Deploy to Vercel

Single Rust binary on Vercel functions, static assets on the CDN, streaming preserved

Deploy with Docker

Run a nextrs app on any container host — Fly.io, Railway, ECS, or a VPS

Roadmap

React Pages & Server Props (Preview)

Roadmap preview: page.tsx in the app tree, with the React Query cache warmed by the server before your bundle runs

A Next.js-style routing framework for Rust · drewhirschi/nextrs