SimpleSsrRouter

@Composable
fun IComponent.SimpleSsrRouter(initPath: String = "/", contextPath: String = getContextPath(), stateSerializer: () -> String? = null, routeBuilder: @Composable RouteBuilder.() -> Unit)

A router supporting Server-Side Rendering (SSR).

This router can be used to directly declare UI components for each route, which will be rendered on the server immediately for every request.