PRNext 0.2.1: a better place to build
PRNext 0.2.1-alpha focuses on the time between opening a project and making the next change. The starter gives you a direct route to your assistant or your editor. Inside the page, the console moves out of your way, the responsive preview folds, and your tools remember how you left them.
This patch builds on 0.2.0 without replacing an existing application's pages. It brings the development tools closer to an everyday workspace, with image export for sharing a result and targeted fixes for development hydration warnings.
Start with your assistant or your editor
New projects open on a minimal welcome page. Connect AI opens the assistant setup, while the app/page.tsx link opens the page in your configured editor. The AI action keeps a dark surface with a moving accent around its edge. Documentation stays one click away when you want to explore the framework before changing anything.
TypeScript remains the default for project creation; --js selects JavaScript and generates app/page.jsx instead. These files belong to your application. Installing the update does not overwrite the page or layout of an existing project.
npx @thomas.f/prnext@0.2.1-alpha create my-app
cd my-app
npm run devPut the console where you need it
Drag the embedded client console by its title bar and resize it from its edges or corners. A larger window makes a long log easier to read; a smaller one leaves room for the interface you are testing. The console keeps its existing dark appearance and its level, source and text filters.
Its position, size and filters are remembered. You can also keep the responsive preview docked while moving the console, rather than arranging your tools again after every reload.
Preview a continuous folding display
The Duo preset adds a continuous inner screen that closes inward to reveal an outer display. Folding and rotation are animated, and the running page keeps its state as you change the preview. You can inspect an open layout, close the device and continue with the same page on the cover screen.
The device menu remains accessible while switching sizes. Duo is a visual responsive preview, not a hardware emulator: it does not reproduce the Device Posture or Viewport Segments browser APIs. Test those APIs on a suitable browser and device when your application depends on them.
Return to the same workspace
Tool preferences now persist independently and synchronize between tabs and detached windows. The selected device, width, rotation, fold and frame settings are retained, along with console preferences. Reloading the application no longer means rebuilding the same arrangement by hand.
Reset tools restores the developer-tool defaults. It preserves application data, console messages and the live page's React state. The stored settings describe your tools, not the contents of your application.
Share the preview as a PNG
Download the visible responsive preview as a flat PNG, optionally including its device frame. The export preserves nested scroll positions and the responsive image the browser selected. This makes it useful for sharing a layout with a teammate or giving your assistant a concrete view of the interface.
Copy image sends the result to the clipboard when the browser permits it, with a local download fallback. Visible embedded frames report unsupported content instead of disappearing silently. The export captures the visible view at its CSS pixel size; it does not produce an interactive or three-dimensional device recording.
Remove framework-owned hydration noise
Development HMR bookkeeping no longer writes build attributes onto React's document root. Those attributes could make the server HTML differ from the browser tree before your application changed anything. Keeping that bookkeeping outside React's document attributes removes this framework-owned source of warnings.
The ColorZilla body marker is also handled when the extension injects it before or during queued hydration. Genuine application mismatches remain visible. Random values, invalid markup and changing application data still need to produce consistent server and browser output. This patch does not claim to resolve every previously observed navigation or layout-state reset.
Upgrade an existing application
Install the exact version, keep its native package aligned, then rebuild and restart your application. Node requirements remain 22.23.4+, 24.22.1+ or 26.12.1+, with matching React protocol packages at 19.3.1. If you use the persistent supervisor, stop managed applications with the current CLI and the same process-manager home before replacing packages.
The qualified source passed Linux, macOS and Windows CI, six-platform archive checks, twelve installation checks, eighteen Node lifecycle checks and the controlled performance gate. These checks do not establish a universal speed gain. PRNext remains an alpha with partial Next.js compatibility; verify your routes, forms, hydration and hot reload, and retain a matching previous build for rollback.
Applications using opt-in worker prewarming still need to account for a previously observed connection reset during recovery after a worker crash. The developer-tool changes in this patch do not establish that this recovery issue is resolved.
npm install @thomas.f/prnext@0.2.1-alpha
npx --no-install prnext build