HeadlinesBriefing HeadlinesBriefing.com

Proa: Rust Web Framework with Fast SSR

Hacker News •
×

Proa is a new Rust web framework presented on Hacker News as a Show HN project. It focuses on fast server-side rendering (SSR) and multi-target rendering, allowing the same components to output HTML and Markdown. The project's author has published demo videos explaining the multi-target rendering approach, along with a public benchmarks repository on GitHub.

The framework is built to create information-dense apps with selective interactivity. Its creators have built re-creations of GitHub, Sentry, and Airbnb as independent demos, which are not affiliated with or endorsed by those companies. Reported benchmarks include a 5.56 ms React renderToString p50 measured on warm production runs on an 8-vCPU AMD EPYC-Milan VPS.

Proa also offers Proa UI, a Shadcn-style component library in typed Rust. Developers keep the component source in their own repository and can theme and compose it freely. Components cover accordions, tables, buttons, forms, charts rendered as pure SVG on the server, date pickers, and chat message bubbles. A CSS-only accordion build ships no JavaScript, and the components follow the WAI-ARIA disclosure pattern for accessibility.

The framework's default approach is to server-render pages and ship JavaScript islands only where interactivity is needed. The project's thread on Hacker News received 44 points and 4 comments at the time of publication.

Source: Hacker News · Summarized by HeadlinesBriefing