Overview
Prerequisites
The docs are based on Solid Router v0.10.x. To use this version, you need to have Solid v1.8.4 or later installed.
Solid Router is the universal router for SolidJS which works for rendering on the client or the server. It was inspired by and combines paradigms of React Router and the Ember Router.
A router provides a way to change a user's view based on the URL in the browser. This allows a "single-page" application to simulate a traditional multipage site. To use Solid Router, components called Routes that depend on the value of the URL (the "path") are specified, and the router handles the mechanism of swapping them in and out.