easyroute icon indicating copy to clipboard operation
easyroute copied to clipboard

Framework-agnostic router monorepo with official bindings

Easyroute

Framework-agnostic library for routing JavaScript single-page applications

Bindings

Svelte 3 GitHub, NPM
React GitHub, NPM

TL;DR Features:

  • Config-based router (just like Vue Router)
  • Dynamic route matching
  • Nested routes
  • Programmatic navigation
  • Named routes
  • Named views (outlets)
  • Global and individual navigation hooks
  • Hash, history and silent modes
  • Functions to calculate transitions durations
  • SSR friendly