Interface: PlayRouterProviderProps<TActor>
API / @xmachines/play-solid-router / PlayRouterProviderProps
Defined in: packages/play-solid-router/src/play-router-provider.tsx:33
Type Parameters
| Type Parameter | Default type |
|---|---|
TActor extends PlayActor | PlayActor |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actor | TActor | The actor to sync with Solid Router. | packages/play-solid-router/src/play-router-provider.tsx:35 |
renderer | (actor, router) => any | Renderer callback receives the same concrete actor type that was passed in. | packages/play-solid-router/src/play-router-provider.tsx:45 |
routeMap | RouteMap | Bidirectional route map for state ID ↔ URL path lookups. | packages/play-solid-router/src/play-router-provider.tsx:37 |
router | SolidRouterHooks | The three Solid Router hook results that drive bidirectional sync. Obtain these from useNavigate(), useLocation(), and useParams() in the parent component (they must be called inside a router context). | packages/play-solid-router/src/play-router-provider.tsx:43 |