Skip to content

v1.1.0

Choose a tag to compare

@damith-dasasian damith-dasasian released this 04 Oct 22:43
· 172 commits to main since this release

Navigation, automatically. One import, and every route change in a single-page app
becomes a breadcrumb, and every entry says which route and which real page it came
from. It is its own entry point, so an app that does not import it ships none of it —
the first of the optional helpers built that way.

Added

  • Navigation, automatically — enableNavigation() from the new /client/navigation entry point records every route change as a breadcrumb and labels each entry with route (the pattern, /orders/:id/items), path (the real path) and routeSource. screen keeps its meaning and falls back to route when unset. An app that does not import it ships none of it; the query string and non-route fragments never leave the browser; routeFor, cleanPath and path: false for apps that need them.