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

jimniels

fetch-router

Public
Like
4
fetch-router
Home
Code
2
README.md
H
router.ts
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
…
Viewing readonly version of main branch: v83
View latest version
README.md

Remix 3: fetch-router

Originally copy/pasted the "complete blog" example from the fetch-router docs and, through that process, found a few things that didn’t quite work. So I made tweaks and came up with this val.

This is meant to be an interesting, basic example of what the fetch-router gives you out of the box — and how you can stitch together a system of URLs in a type safe way.

NOTE: Remix 3 is in active development and changing frequently. Make a mental note of the packages being imported and compare it with the latest from the Remix team’s changelog as this may not be totally current.

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.