Skip to content

0009. Platform web app: React + React Router (framework mode)

  • Status: Accepted
  • Date: 2026-11-26
  • Phase: 3

The platform has public pages (catalog, game pages, profiles — want server rendering for SEO and link previews) and a heavy client-side editor (code editor, live preview iframe, AI chat, later a visual level editor).

React with React Router v7 in framework mode (the successor of Remix) on Vite, server-rendered on Node in a plain container (no vendor-specific runtime). Editor uses Monaco for code, our own React components for data editing generated from JSON Schemas, and an iframe preview on the sandboxed play origin. Styling: Tailwind CSS with a small component library (shadcn/ui-style, copied into the repo).

  • Next.js: biggest ecosystem; best on Vercel, more friction self-hosting on AWS containers; server components add complexity for an editor that is mostly client-side.
  • TanStack Start: promising, younger.
  • SvelteKit: lean and fast; React is better known to AI models and has Monaco/editor ecosystem depth.
  • Plain Vite SPA: simplest, but no SSR for catalog SEO.

One Node server renders pages; the Hono API can be mounted in the same process in early phases and split later.