page.js
Micro client-side router inspired by the Express router
There are multiple ways to install page.js. With package managers. Setup redirect from one path to another. Calling page.redirect with only a string as the first parameter redirects to another route. Waits for the current route to push state and after replaces it with the new one leaving the browser history clean. If you're doing selective binding you'll like want to pass { click: false } to specify this yourself. Exit routes are called when a page changes, using the context from the previous...