Skip to main content
Home
This release is 1 version behind 0.1.3 — the latest version of @classic/router. Jump to latest

Built and signed on GitHub Actions

Works with
This package works with Browsers
This package works with Browsers
JSR Score100%
Published6 months ago (0.1.2)

Client-side routing à la Remix from regular pages

Minimal routing script to enable dynamic navigation in any standard website.

Features :

  • Differential morphing between pages
  • Morph shadow DOM when possible
  • Execute scripts from received pages
  • Understand "Content-Location" as pre-rendered redirections
  • Compiles down super small (loads ultra fast)

Examples

Enable dynamic routing in current window

import { init } from "@classic/router";
init();
Built and signed on
GitHub Actions

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.