Skip to content
Back to Templates

React Router SPA + Vite

Client-rendered SPA with React Router v7 data routers, lazy routes, TanStack Query, and Vite code-splitting.

FrontendDifficulty: IntermediateLast updated: 2026-07-30890

Stack

reactreact-routervitetypescript

Category: Frontend · Difficulty: Intermediate

Features

  • ✓Data routers
  • ✓Lazy routes
  • ✓TanStack Query
  • ✓Code-split
  • ✓TypeScript

Repository

Clone command

git clone https://github.com/remix-run/react-router.git