Variable StatisticsRouteConst

StatisticsRoute: Route<
    RootRoute<
        undefined,
        {},
        AnyContext,
        AnyContext,
        {},
        undefined,
        unknown,
        unknown,
    >,
    "/statistics",
    "/statistics",
    string,
    "/statistics",
    undefined,
    Record<never, string>,
    AnyContext,
    AnyContext,
    AnyContext,
    {},
    undefined,
    unknown,
    unknown,
> = ...

Statistics Route Configuration

Defines the analytics dashboard route with:

  • Path: "/statistics"
  • Component: StatisticsPage (loaded dynamically)
  • Parent: RootRoute (inherits layout and structure)
  • Loading: PageLoader (displays during code loading)

This route provides comprehensive visualizations and metrics for understanding music listening habits and trends.

export const StatisticsRoute = createRoute({
getParentRoute: () => RootRoute,
path: "/statistics",
component: () => (
<Suspense fallback={<PageLoader />}>
<StatisticsPage />
</Suspense>
),
});