Next.js. Rebuilt for speed.

Keep building with React and the npm ecosystem.
PRNext brings a lighter server footprint with Rust at its core.

npm install @thomas.f/prnext@alpha

HIGHER PERFORMANCE FOR A BRIGHTER WEB

Built to go faster.

A Rust-powered runtime for your Next.js projects, designed for a smaller footprint.
Explore the balance between speed, memory and CPU.

+7.9%Throughput
−65.8%Memory usage
−30.2%CPU per response

Performance Benchmark

Next.js vs PRNext. One application, the same workload.

NEXT.JS 15.5.12

The default. A balance of memory, CPU and responsiveness.

Next.js and PRNext Balanced, dynamic streaming with 128 concurrent clients. Changes are relative to Next.js.
MetricNext.jsPRNextChange vs Next.js
Throughput Higher is better
673 req/s
726 req/s
+7.9%
Memory under load Lower is better
605 MiB
207 MiB
−65.8%
CPU per response Lower is better
2.442 ms
1.704 ms
−30.2%
Total CPU load Lower is better
164 %
124 %
−24.4%

Dynamic streaming · 128 concurrent clients · Apple M4

Same application & data. One workload, not a universal performance claim.

GET STARTED

Installation

Install PRNext. Migrate your scripts. Run your app.

Node.js 22+Existing Next.js projectAlpha preview
  1. Install the alpha

    Run in your project folder. This alpha requires matching React 19.3.0 packages.

    npm install @thomas.f/prnext@alpha react@19.3.0 react-dom@19.3.0 react-server-dom-webpack@19.3.0
  2. Migrate your project

    Update your dev, build and start scripts. PRNext backs up your package.json and lockfiles.

    npx --no-install prn migrate

    Add --dry-run to the migration command to preview its changes first.

  3. Check your project. Start developing.

    Run the preflight check, then start your app with PRNext.

    npx --no-install prn check
    npm run dev
Your application stays in place.

Next.js, your source files and next.config are kept. This is an early alpha with partial Next.js compatibility.

Build and run in production mode

Build first, then start the server. Balanced is the default profile. The alpha is intended for testing and feedback.

npm run build
npm run start

Customized scripts, workspaces and conflicting dependencies may need manual changes. Review the migration output before continuing.

GET IN TOUCH

Contact

Questions, suggestions, or anything else about PRNext.
I'd love to hear from you.