GioJSdocs
Get StartedReleasesGitHub ↗
Architecture

How GioJS Works

Rust owns the hot path. Node does what it is best at: rendering React.

GioJS splits responsibilities across two layers. The compiled Rust server handles everything performance-critical; Node handles React SSR and the npm ecosystem.

  • Rust — HTTP/2, TLS, routing, compression, image optimization, ISR cache, static files, middleware
  • Node — React rendering via renderToReadableStream, getServerSideProps, your app logic

A request only reaches Node if it is a dynamic SSR route that missed the cache. Everything else is served entirely from Rust.