Interface AsyncRouterProps<TOnReadyArgs>
Methods
getLocationKey
- getLocationKey(location: Location): string
onInitialPageReady
- onInitialPageReady(): void
onNavigationStart
- onNavigationStart(): void
onReady
- onReady(args: TOnReadyArgs): void
renderLayout
- renderLayout(children: ReactNode[]): ReactElement<any, string | JSXElementConstructor<any>>
Parameters
Returns ReactElement<any, string | JSXElementConstructor<any>>
renderRoutes
- renderRoutes(location: Location): ReactNode
Parameters
Returns ReactNode
A callback that is executed the first time onReady is called. This is a convenience for hiding the loading screen.