fetch-router
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.
Viewing readonly version of main branch: v83View latest version
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.