Interface: PlayRouterProviderBaseProps<TRouter, TActor>
API / @xmachines/play-solid-router / PlayRouterProviderBaseProps
Defined in: packages/play-solid-router/src/create-play-router-provider.tsx:37
Props shared by every factory-created Solid PlayRouterProvider.
Adapter packages re-export a concrete alias with TRouter bound to their
router type (e.g. SolidRouterHooks in @xmachines/play-solid-router).
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
TRouter | - |
TActor extends PlayActor | PlayActor |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actor | TActor | The actor to sync with the router. | packages/play-solid-router/src/create-play-router-provider.tsx:39 |
renderer | (actor, router) => any | Renderer callback receives the same concrete actor type that was passed in. | packages/play-solid-router/src/create-play-router-provider.tsx:45 |
routeMap | RouteMap | Bidirectional route map for state ID ↔ URL path lookups. | packages/play-solid-router/src/create-play-router-provider.tsx:43 |
router | TRouter | The router the bridge synchronizes with. | packages/play-solid-router/src/create-play-router-provider.tsx:41 |