class MockRouterCtlF[F[_], P](val baseUrl: BaseUrl, pageToPath: P => Path)(ff: Sync[F]) extends RouterCtlF[F, P]
Mock RouterCtl that does nothing but record events.
Mock RouterCtl that does nothing but record events.
Call events to inspect recorded events, and clear to clear them.
- Companion
- object
Value members
Concrete methods
Inherited methods
Change the behaviour of set and all derivatives.
Change the behaviour of set and all derivatives.
For example, this can be used to set a component's state immediately before setting a new route.
- Inherited from
- RouterCtlF
Change the behaviour of set and all derivatives.
Change the behaviour of set and all derivatives.
For example, this can be used to set a component's state immediately before setting a new route.
- Inherited from
- RouterCtlF
Deprecated and Inherited methods
@deprecated("Use .onSetRun(callback).setOnClick(route)", "forever")
- Deprecated
- Inherited from
- RouterCtlF