Skip to content
HN On Hacker News ↗

Write React. Ship the DOM.

▲ 17 points 9 comments by mohebifar 3d ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is AI.

93 %

AI likelihood · overall

AI
0% human-written 100% AI-generated
SEGMENTS · HUMAN 0 of 1
SEGMENTS · AI 1 of 1
WORD COUNT 159
PEAK AI % 93% · §1
Analyzed
Sep 2
backend: pangram/v3.3
Segments scanned
1 windows
avg 159 words each
Distribution
0 / 100%
human / AI fraction
Verdict
AI
Pangram v3.3

Article text · 159 words · 1 segments analyzed

Human AI-generated
§1 AI · 93%

Vidact compiles your function components and hooks into direct DOM operations. No Virtual DOM, no re-renders, no React in the bundle.Get started Read the docsEvery example below is ordinary React, compiled by Vidact and running on this page.How it works1CompileThe compiler maps every expression to the values it reads. Code it cannot compile stops the build at its exact line.2Mount onceThe component runs a single time and builds its DOM. There is no render loop and no tree to diff.3Update surgicallyA state write runs only the updaters that read it: a text node, an attribute, a list row.Full-stack, the same wayVidact Start adds file routes, server loaders, SSR, hydration, and client navigation, all generated by the same compiler, so server and browser output match by construction.Explore Vidact Start src/routes/products/$productId.tsximport { defineFileRoute } from '@vidact/start'const loader = async ({ params }) => ({ product: await findProduct(params.productId),})export function ProductRoute({ loaderData }) { return <h1>{loaderData.product.name}</h1>}export const Route = defineFileRoute({ loader, component: ProductRoute,})