LoaderFunction<Context>: ((args, handlerCtx?) => DataFunctionReturnValue) & {
    hydrate?: boolean;
}

Route loader function signature

Type Parameters

  • Context = any

Type declaration

    • (args, handlerCtx?): DataFunctionReturnValue
    • Parameters

      Returns DataFunctionReturnValue

Type declaration

  • Optional hydrate?: boolean