We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9061752 commit 0d69081Copy full SHA for 0d69081
apps/dev-playground/client/src/routes/telemetry.route.tsx
@@ -1,11 +1,14 @@
1
-import { createFileRoute } from "@tanstack/react-router";
+import { createFileRoute, retainSearchParams } from "@tanstack/react-router";
2
import { Button } from "@/components/ui/button";
3
import { Card } from "@/components/ui/card";
4
import { useState } from "react";
5
import { Activity, Loader2 } from "lucide-react";
6
7
export const Route = createFileRoute("/telemetry")({
8
component: TelemetryRoute,
9
+ search: {
10
+ middlewares: [retainSearchParams(true)],
11
+ },
12
});
13
14
type ExampleResult = {
0 commit comments