For session navigation, the strongest matches are reactjs/react-router (React Router is a comprehensive client-side routing library for), vuejs/vue-router (This repository provides client-side routing, browser history management, and) and vuejs/router (Vue). visionmedia/page.js and reacttraining/react-router round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Compare the top open-source browser history managers, ranked by stars and activity, and find the right tool for session navigation.
React Router is a client-side routing library and declarative routing engine for React applications. It functions as a navigation tool that synchronizes the user interface with the browser address bar, allowing for view transitions without full page reloads. The library maps browser URLs to specific UI components, enabling declarative route management. This ensures the user interface stays in sync with the browser URL to support deep linking and bookmarking. The system covers client-side navigation and application state synchronization through the integration of the browser history interface
React Router is a comprehensive client-side routing library for React that provides view transitions, history management, and URL-driven state synchronization.
Vue.js Client-Side Router is a routing library that maps browser URLs to Vue.js components to enable the creation of single-page applications. It functions as a navigation engine that manages browser history and URL state to allow page transitions without full browser reloads. The system utilizes a nested route manager to render hierarchical views that match complex URL structures. It includes navigation guard middleware to intercept, validate, or redirect route transitions before components are rendered. A client-side history handler synchronizes application state with the browser URL using
This repository provides client-side routing, browser history management, and navigation guard middleware specifically tailored for the Vue ecosystem, making it a strong tool for session navigation even though it is limited to a single framework.
Vue.js Client-Side Router is a routing library for Vue.js that synchronizes the browser URL with application state to enable single-page application navigation. It functions as a URL-to-component mapper, rendering specific components based on the current URL path and dynamic route patterns. The project serves as a browser history manager that controls how internal routes map to the browser URL using various history strategies. It also provides a navigation guard framework to execute logic and access control during route transitions. The library covers dynamic route management, programmatic U
Vue.js Router is the official client-side routing library for Vue applications, providing history management, navigation guards, and state synchronization, though it is tied to a specific framework ecosystem rather than being framework-agnostic.
page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable functions. It functions as a navigation engine and browser history manager, implementing a middleware-based path-mapping system similar to the Express web framework. The library distinguishes itself through an Express-style router model, utilizing a middleware callback chain and a shared context object to pass data between navigation handlers. It supports advanced window management, allowing for multiple router instances to handle navigation independently across different windows or em
This JavaScript library provides client-side routing, history management, and browser history state caching for single-page applications using an Express-style middleware model, making it a fitting tool for session navigation despite lacking built-in type safety or deep framework integration.
React Router is a client-side routing library for React that maps browser URLs to specific user interface components. It functions as a declarative navigation framework used to manage application state and navigation paths within single-page applications. The library handles the extraction of dynamic URL parameters to render content based on the current browser path. It synchronizes application state with the browser URL, enabling the use of the back and forward buttons and allowing for bookmarking. The framework covers declarative UI navigation and browser history management. It employs URL
React Router is a well-established client-side routing library for React that manages URL mapping, history synchronization, and nested views within single-page applications, though it requires external integrations to handle advanced state preservation across sessions.
Mithril.js is a JavaScript UI framework designed for building single page applications. It functions as a virtual DOM library and a toolkit for creating dynamic user interfaces that synchronize application state with the browser display. The project integrates a client side router for mapping URLs to specific views and a built-in XHR data fetcher for sending and receiving information from servers. These components allow for navigation and content updates without requiring full page reloads. The framework covers user interface state management and asynchronous data fetching, utilizing virtual
Mithril.js is a client-side JavaScript UI framework that includes built-in routing and state synchronization for single-page applications, fitting the core category despite lacking advanced type-safe route definitions.
Choo is a minimalist frontend framework providing a tiny foundation for building web applications. It functions as an event-driven application core that decouples business logic from rendering and includes a client-side router to manage browser history and URL mapping without page reloads. The project distinguishes itself through an architecture that combines a server-side rendering engine for generating static HTML strings with a stateful UI component library. This allows for the creation of self-contained interface elements that maintain internal data and persist across global renders. The
Choo provides client-side routing, history management, and session state preservation as part of its minimalist frontend framework architecture, though it lacks modern type-safe route definitions.
go-app is a WebAssembly frontend framework and UI library for building progressive web apps using the Go programming language. It enables the execution of Go code directly in the browser to manage application logic and client-side views. The framework provides a component-based system for creating reusable interface elements with declarative syntax and automatic state synchronization. It includes a client-side router that maps URL paths to specific interface components to enable navigation within a single-page application. The project covers general frontend development capabilities, includi
This Go-based WebAssembly framework provides client-side routing and component-based UI state management for building progressive web applications, aligning well with the requested session navigation and routing capabilities.
UI-Router is a routing framework for AngularJS applications that maps URLs to a hierarchical tree of states and nested views. It functions as a state-based navigation engine, managing view transitions and dependencies through defined states rather than simple linear URL paths. The system acts as a nested view router, enabling the simultaneous rendering of multiple content areas by mapping application states to named views. It also serves as a client-side route controller, providing mechanisms to intercept transitions for authentication checks and resolve data dependencies before rendering vie
This TypeScript library provides a state-based routing framework with hierarchical states and nested views for AngularJS applications, covering client-side navigation and state management despite being tied to an older framework generation.
TanStack Router is a type-safe routing library for web applications that provides full type safety for paths, search parameters, and data loaders across the entire application stack. It functions as a comprehensive framework for server-side rendering, enabling the generation of complete HTML pages to improve initial load performance and search engine optimization. By integrating declarative data fetching, the library manages asynchronous information at the route level, supporting preloading, caching, and parallel request execution to ensure data is ready before components render. The project
TanStack Router is a type-safe client-side routing library with data loading and navigation features, though it focuses primarily on web applications rather than mobile platforms.
Reach Router is a client-side routing library for React applications that maps URL patterns to components without full page reloads. It defines navigation rules and component rendering through declarative route configuration, using nested React component trees instead of separate configuration files. The library supports parent-child route hierarchies so shared UI elements persist across page transitions, and provides a declarative Navigate component that triggers URL changes and view updates when rendered. It extracts dynamic segments from URL patterns and passes them as props to matched rou
Reach Router is a client-side routing library for React applications that handles navigation, component matching, and nested layouts, though it lacks modern type-safe routes and broader framework integration beyond React.
React Navigation provides robust client-side routing, history management, and state preservation tailored for mobile and web applications with seamless framework integration.
Omi is a web components framework, reactive UI library, and client-side routing engine. It provides a system for building modular and reusable interface elements based on standard browser web components, using signals to synchronize data changes and update the user interface automatically. The project functions as a cross-framework component tool, exporting standard web elements that operate consistently across different third-party JavaScript libraries. Its capabilities include single-page application navigation and view routing. It also covers reactive state management, component style man
Omi includes a built-in client-side routing engine and reactive state management suited for single-page application navigation, though it is primarily a web components framework rather than a dedicated routing library.
One is a full-stack, cross-platform React framework and multi-target rendering engine designed to build web and native applications from a single codebase. It utilizes a Vite-based build pipeline to manage shared components while providing a type-safe file-system router that automatically generates navigation definitions. The framework distinguishes itself by supporting a hybrid rendering strategy, allowing individual routes to be configured as static sites, server-rendered pages, or single-page applications. It employs platform-specific logic resolution and a shared Vite plugin to coordinate
One provides a type-safe file-system router with client-side routing, history management, and framework integration for cross-platform applications, though it functions as a full-stack framework rather than a standalone routing library.
Redux-first-router is a state-driven JavaScript router library that maps URL paths, query parameters, and browser history directly to actions within a Redux application store. Instead of manipulating components or relying solely on declarative links, it updates the address bar and navigates the application by dispatching and receiving state container actions. The library translates bidirectionally between URL strings and action payloads using expressive route patterns, supporting dynamic path parsing, parameter constraints, wildcards, query strings, and custom formatting rules. It handles asy
Redux-first-router is a state-driven JavaScript router library that maps URL paths and browser history directly to Redux store actions, providing client-side routing, history management, and framework-adjacent state handling.
history.js is a cross-browser URL state manager and HTML5 History API polyfill. It functions as a single page application router that manages browser URL and history state consistently across HTML5 and HTML4 browsers, enabling navigation without triggering full page reloads. The project provides a JavaScript framework adapter that integrates history management with the event systems of jQuery, MooTools, and Prototype. It ensures compatibility through a fallback mechanism that switches to hash-based navigation and hashbang URLs when the native HTML5 History API is unavailable. The system cove
History.js is a client-side browser history and URL state manager that handles history navigation and state management across browsers, making it a relevant building block for session routing despite lacking modern type-safe route definitions.
Fragmentation is an Android fragment management library and navigation framework. It coordinates the lifecycle, transactions, and navigation of fragments to reduce boilerplate code. The framework provides a system for handling back-stack operations, transition animations, and activity-like launch modes between fragments. It includes a navigation debugger with visual tools for inspecting the fragment hierarchy and monitoring the navigation stack in real time. The library covers fragment communication through activity-scoped event buses, lifecycle coordination with lazy view initialization, an
Fragmentation is a dedicated Android fragment management and navigation library that handles back-stack operations and lifecycle coordination, making it a fitting building block for session navigation despite being platform-specific rather than cross-platform.
This is a mobile navigation and routing library for React Native that provides native navigation performance and session management, though it focuses less on browser-style history management.
React-router-cache-route is a client-side route state manager and component caching library for React Router applications. It preserves component state, local Document Object Model structures, and view containers across route changes to prevent unmounting during navigation. The library includes LRU-based cache capacity limiting to automatically prune older entries and manage memory consumption when handling multiple dynamic route instances. It provides declarative route matching rules using conditional strings or custom functions, alongside an automatic scroll position persistence engine tha
This JavaScript library extends React Router V5 to cache component states across navigation actions, fulfilling key session-navigation and state-preservation needs for web apps.
Vue is a progressive, component-based JavaScript framework designed for building reactive user interfaces and single-page applications. It centers on a declarative template system that transforms HTML into efficient render functions, allowing developers to organize complex interfaces into isolated, reusable units that synchronize automatically with application state. The framework distinguishes itself through a dependency-tracking reactivity system that monitors data access during rendering to trigger precise updates. It provides a flexible architecture that supports both incremental adoption
Vue is a component-based frontend framework that integrates closely with its own routing and state management libraries to support client-side navigation and history management.
| 仓库 | Star 数 | 语言 | 许可证 | 最后推送 |
|---|---|---|---|---|
| reactjs/react-router | 56.4K | TypeScript | MIT | |
| vuejs/vue-router | 18.9K | JavaScript | MIT | |
| vuejs/router | 4.6K | TypeScript | MIT | |
| visionmedia/page.js | 7.7K | JavaScript | — | |
| reacttraining/react-router | 56.5K | TypeScript | MIT | |
| mithriljs/mithril.js | 14.5K | JavaScript | MIT | |
| choojs/choo | 6.8K | JavaScript | MIT | |
| maxence-charriere/go-app | 8.9K | Go | MIT | |
| angular-ui/ui-router | 13.4K | TypeScript | MIT | |
| tanstack/router | 14.7K | TypeScript | MIT |