History++ Examples

Interactive demos showcasing routing, lifecycle hooks, middleware, navigation guards, hybrid HTML navigation, lazy loading, and performance strategies built on top of the native History API.

Available Examples

01

Basic Routing

Simple route registration, navigation handling, and notFound behavior.

Open Example →
02

Dynamic Params

Demonstrates dynamic path matching such as /user/:id.

Open Example →
03

Lifecycle Visualizer

Visualizes push, replace, and pop navigation lifecycle flows.

Open Example →
04

Guards & Blocking

Demonstrates route guards, blocked navigation, and rollback behavior.

Open Example →
05

Hash vs History

Compare hash-based routing with native History API routing.

Open Example →
06

End Route

Demonstrates terminal routes and mobile-like exit behavior.

Open Example →
09

Multi Step Flow

Demonstrates step-based navigation flows and transitions.

Open Example →
11

Lazy Loading

Load route logic dynamically only when a route becomes active.

Open Example →
12

HTML Fetch Navigation

Fetch HTML fragments dynamically and swap content without reloads.

Open Example →
13

HTML Hybrid Navigation

Hybrid server-rendered pages with SPA-style client navigation.

Open Example →
14

Route Performance

Compare simple matching and trie-based route performance.

Open Example →