• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
milohansen

milohansen

react-spa-starter

Remix of jxnblk/react-spa-starter
Public
Like
react-spa-starter
Home
Code
6
App.tsx
Chart.tsx
Measurements.tsx
README.md
client.tsx
H
http.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
…
README.md

React SPA Starter

Minimal React SPA example for Val Town. View Demo

Remix this project to start building your own React app

How it works

The http.tsx file is the main entry point and serves the app. It returns a static HTML string response that includes the client-side JavaScript module in client.tsx. The client.tsx module hydrates the React app on the client.

The App.tsx file is the root component of the React app. You can add more components and functionality as needed.

Note that this version does NOT handle server-side rendering (SSR). Using one of the versions with SSR is highly recommended:

  • React Starter
  • React Streaming Starter
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.