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

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

## Other

* [RouterStore](classes/RouterStore.md) — An observable mirror of a router's current state.

## types

* [RouteTypes](interfaces/RouteTypes.md) — Typed store fields, filled in by module augmentation.
* [TypedStoreName](type-aliases/TypedStoreName.md) — The state names `RouterStore.includes` narrows the store by: the keys of RouteTypes' `snapshots`, or none until it is filled in.
* [TypedStoreNarrowing](type-aliases/TypedStoreNarrowing.md) — The store's `current` and `params` narrowed to state `N`'s subtree: its `snapshots` entry, one member per state in the subtree.
* [TypedStoreState](type-aliases/TypedStoreState.md) — The store's `current` and `params` as RouteTypes types them: its `snapshot` member's, or `StateDeclaration` and `RawParams` until it is filled in.
* [TypedStoreTarget](type-aliases/TypedStoreTarget.md) — The other targets `RouterStore.includes` takes: the parameter of RouteTypes' `snapshot.includes`, or any `StateOrName` until it is filled in.
