r/reactjs • • 1d ago

Show /r/reactjs Dinou v10 — an ejectable full-stack React 19 framework (RSC) with zero-boilerplate type-safe routing, 3D caching, and multi-runtime deploy

Hi everyone,

I just published Dinou v10.0.2 on npm. Dinou is a full-stack React 19 framework built around native React Server Components (RSC), progressive streaming SSR, and Server Functions.

Version 10 brings a lot of improvements, bug fixes, and a few targeted breaking changes compared to v9.3.0:

  • Truly escaped _ folders: Underscore-prefixed folders (e.g. src/_drafts/) are now completely ignored by the router, bundlers, route typegen, and Server Functions—reserved strictly for WIP drafts, archived routes, or legacy code (while active helper folders like src/components/ don't need an underscore).
  • Per-segment PPR (no parent-to-child inheritance): In v10, ppr is configured strictly per segment rather than inherited down the route tree—so you can have a layout with ppr = true and a child page with ppr = false (each falling back to the global setting in dinou.config.ts).
  • Strict build artifact isolation: Internal server artifacts and build manifests (.dinou/dist1) and pre-rendered SSG/ISR/PPR cache files (.dinou/dist2) are now strictly separated from public static assets (.dinou/dist3, or .dinou/cloudflare/assets on Cloudflare Workers), alongside dedicated platform outputs (.dinou/node, .dinou/netlify/functions, etc.).

For the full list of breaking changes, you can check the docs at dinou.dev—there is both a link to the GitHub CHANGELOG.md and a dedicated v9 to v10 migration guide.

Other notable improvements in v10

Single-pass inline RSC streaming: On initial load or hard reload (for dynamic SSR, PPR resumes, and first-time ISG renders), the RSC payload is now streamed inline alongside the HTML in a single pass. This eliminates a second server round-trip for the RSC payload and avoids hydration mismatches caused by values that change per request (such as Date.now() or random IDs).

Reversible eject & uneject**:** Dinou has always been ejectable via npm run eject, and v10 adds npm run uneject so you can also revert an ejection cleanly and transactionally with a single command.

3D Caching (Horizontal, Vertical, and Temporal): Dinou lets you combine three independent caching axes—Horizontal (decoupled layout and page lifecycles), Vertical (<DinouCacheSlot> component-level Micro-ISR with targeted client refreshSlot()), and Temporal (Partial Prerendering / PPR)—so you aren't forced into an all-or-nothing choice between fully dynamic and fully static rendering.

Zero-boilerplate type-safe routing via "./dinou"**:** Instead of repeating route pattern strings with global "dinou" imports, v10 generates route-contextual "./dinou" modules per directory:

// src/blog/[slug]/page.tsx (Server Component)
import { Link, type PageProps } from "./dinou";

export default async function BlogPost({ params }: PageProps) {
  // params.slug is automatically typed as string
  const post = await fetchPost(params.slug);

  return (
    <article>
      <h1>{post.title}</h1>
      {/* Validated relative link without passing from="..." */}
      <Link href="comments">Comments</Link>
      {/* Dynamic pattern with typed params + auto encoding */}
      <Link href="/blog/[slug]" params={{ slug: post.nextSlug }}>
        Next Post
      </Link>
    </article>
  );
}

Multi-bundler & multi-runtime portability: Dinou v10 continues to strengthen its multi-bundler (esbuild, Rollup, and Webpack) and multi-runtime architecture (Node.js, Bun, Deno, Cloudflare Workers, Netlify Functions v2, standalone native binaries, and pure static SPA export)—so you can deploy pretty much anywhere.

Evolution & AI-agent readiness

Dinou has evolved continuously since its initial release, and v10 is another step toward a rock-solid, modern React 19 framework aligned with current web standards. I recommend staying on the latest version for the best reliability, performance, and feature set.

Dinou is also designed to work smoothly in AI-assisted workflows—coding agents can pick up the framework very quickly. Both the documentation site (dinou.dev, which also exposes /llms.txt and /llms-full.txt), the package README.md (engineered as a compact, single-pass technical spec), and the framework codebase itself (~150 core source files, ~190 total including compiled vendors—whether ejected or in node_modules) are easy for agents to read and reason about.

Feel free to try it out with:

npx create-dinou@latest my-app

Any feedback, questions, or critique is very welcome. Thanks for reading!

0 Upvotes

5 comments sorted by

3

u/well-litdoorstep112 23h ago

How many of those 129 weekly downloads are you and your ai agent?

1

u/roggc9 20h ago

Very few. When I'm developing locally with Gemini-Antigravity, I'm not repeatedly installing copies from npm. One install is enough to grab the latest published version, and from there I keep iterating on top of it with the agent using the ejected codebase. If your point is that it has very little traction so far, I completely agree with you. As I mentioned in the post, though, it's an ongoing process of hard work alongside an agent that keeps getting better, continuously refining the initial solution to get closer and closer to the demanding bar of a production-ready React 19 framework (stability, reliability, feature set, etc). So I hope to keep getting closer to that bar with each new version, and this release is another step toward that goal. Also, as I mentioned in the post, building web apps with an agent using Dinou is fast and easy, so it's "cheap" to try it out and see what you can build and how it turns out. Thank you.

6

u/Xacius 1d ago

I'm tired, boss

1

u/TheRNGuy 19h ago

How is it different to React Router?

What is 3D caching?