---
url: https://lit-ui-router.dev/reference/ui-router-effect.md
---
# ui-router-effect

The API reference of the [`ui-router-effect` package](/packages/ui-router-effect), whose page covers installation and usage.

## Other

* [errorRef](functions/errorRef.md) — The failed-transition ref for a router — one per router instance, attached lazily, sharing pendingRef's `onStart` hook.
* [pendingRef](functions/pendingRef.md) — The pending-transition ref for a router — one per router instance, attached lazily.
* [routeRef](functions/routeRef.md) — The route ref for a router — one per router instance, attached lazily.
* [RouteSnapshot](interfaces/RouteSnapshot.md) — The router's current state as one immutable value, for a reactive cell to hold.
* [snapshotRoute](functions/snapshotRoute.md) — The snapshot of a router right now; `StateService.includes` minus the live reads.

## types

* [RouteTypes](interfaces/RouteTypes.md) — Typed route snapshots, filled in by module augmentation.
* [TypedRouteSnapshot](type-aliases/TypedRouteSnapshot.md) — The route snapshot as RouteTypes types it: its `snapshot` member, or RouteSnapshot until it is filled in.
