FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
project logo

jxnblk

react-router-starter

Minimal React Router starter
Public
Like
1
react-router-starter
Home
Code
3
README.md
client.tsx
H
http.tsx
Branches
1
Pull requests
Remixes
1
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
4/22/2025
README.md

React Router Starter

Minimal React Router starter example for Val Town

View demo

How it works

The http.tsx file is the main server that responds with an HTML stream. The HTML includes a <script type="module"> tag that loads the client.tsx file to hydrate the app with client-side routing provided by React Router's declarative mode.

View more starters

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.