Skip to content

Companion Packages

lit-ui-router is the core package. Companion packages layer optional integrations on top of it — each is published and versioned independently and depends on the core only as a peer, so you add exactly the ones you need and nothing you don't.

Published

PackageVersionWhat it is
eslint-plugin-lit-ui-routerNPM Version GitHub ReleaseESLint rules that understand the router's directives: six rules covering hrefless anchors — where a uiSref element part counts as the href it assigns at runtime — inert hrefs, misplaced directives, and each of the three ways a link goes active without saying so to assistive technology.
lit-ui-router-effectNPM Version GitHub ReleaseEffect bindings: a SubscriptionRef of the route and ref-following Lit controllers that keep components in sync with router state.
lit-ui-router-mobxNPM Version GitHub ReleaseMobX bindings: an observable RouterStore and reaction-based Lit controllers that keep components in sync with router state.
ui-router-navigation-location-pluginNPM Version GitHub ReleaseAn experimental location plugin that manages URLs with the modern Navigation API and exposes the router in navigation events.
ui-router-serverNPM Version GitHub ReleaseServer-side routing verdicts: honest 404/302/200 HTTP for static SPAs, run at the edge with the client's own route table.

Each package page has its own install snippet, guide, and — where the package has a runtime API — its own reference.

eslint-plugin-lit-ui-router is the odd one out: it ships lint rules rather than runtime code, so its only peer is eslint rather than the router itself. Its 1.0 line is stable, and its semver policy treats any tightening of recommended as a major.

ui-router-server is still an early 0.x line: it ships, this site's own Worker runs it in production, and its API can still move in a minor. The package page, the Server-Side Routing guide, and the sample app cover what ships today; content rendering (build-time and server-side) is the roadmap next axis, on the same companion-package model.