Published: July 22, 2021 Routing is a key piece of every web application. At its heart, routing takes a URL, applies a pattern matching or other app-specific logic to it, and then, usually, displays web content based on the result. Routing might be implemented in a number of ways: Server code that maps paths to files on a disk Logic in a single-page app that waits for changes to the current locati

