TanStack / router

🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
https://tanstack.com/router
MIT License
8.28k stars 664 forks source link

fix(start): parse query string only once #2785

Closed schiller-manuel closed 1 week ago

nx-cloud[bot] commented 1 week ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6b97e811851d3ec68a2b94815da372b9842e7064. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets - [`nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3`](https://cloud.nx.app/runs/YLh4Tr24Ry?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --exclude=examples/** --exclude=e2e/**`](https://cloud.nx.app/runs/u5jeqGkieW?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

pkg-pr-new[bot] commented 1 week ago

Open in Stackblitz

More templates

- [tanstack-router-react-example-authenticated-routes](https://pkg.pr.new/template/851a9ffa-a87d-4946-94c6-780a349ff1e3) - [tanstack-router-react-example-basic](https://pkg.pr.new/template/4de470d4-670c-4212-a96a-db4000d7c9bb) - [tanstack-router-react-example-basic-default-search-params](https://pkg.pr.new/template/eeb09356-6553-4e3d-a07b-f1d26ede0b1f) - [tanstack-router-react-example-basic-file-based](https://pkg.pr.new/template/a93a5641-eb9c-4336-9474-aceab458abf0) - [tanstack-router-react-example-basic-file-based-codesplitting](https://pkg.pr.new/template/40c8ef87-937d-48db-b57c-0a88fd517f87) - [tanstack-router-react-example-react-query](https://pkg.pr.new/template/6f40b7c8-34f7-450e-be6a-d82c27766d22) - [tanstack-router-react-example-basic-react-query-file-based](https://pkg.pr.new/template/89d45649-dd41-4558-95e4-318940d006ab) - [tanstack-router-react-example-basic-ssr-file-based](https://pkg.pr.new/template/ee76891a-bcf1-4470-8057-5b96f8e84bb7) - [tanstack-router-react-example-basic-ssr-streaming-file-based](https://pkg.pr.new/template/8c015928-5041-45f6-8464-adb17bf49d78) - [tanstack-router-react-example-basic-virtual-file-based](https://pkg.pr.new/template/06214607-6bb2-4a68-8242-524fe7ef4bd9) - [tanstack-router-react-example-basic-virtual-inside-file-based](https://pkg.pr.new/template/ee1aba41-de8f-4654-be82-7536ff969f11) - [tanstack-router-react-example-deferred-data](https://pkg.pr.new/template/a4b1267d-c78b-4f8f-90f1-162131223cd1) - [tanstack-router-react-example-kitchen-sink](https://pkg.pr.new/template/1e15aa8f-4dcd-465e-a0b3-8d848a0c6b43) - [tanstack-router-react-example-kitchen-sink-file-based](https://pkg.pr.new/template/951683ac-db37-45c8-aab7-702b71524aad) - [tanstack-router-react-example-kitchen-sink-react-query](https://pkg.pr.new/template/727ad613-a579-4028-9663-18c202206373) - [tanstack-router-react-example-kitchen-sink-react-query-file-based](https://pkg.pr.new/template/83590aa3-50f0-43c4-a0ac-1730e701d9b8) - [tanstack-router-react-example-large-file-based](https://pkg.pr.new/template/bb63dcc6-121d-4ae9-9ae3-7047de5ce525) - [tanstack-router-react-example-location-masking](https://pkg.pr.new/template/c9c6a8be-ae78-4042-8c97-1e98923a2e88) - [tanstack-router-react-example-navigation-blocking](https://pkg.pr.new/template/b5f0b1d4-afac-4d35-9c73-f2e9d498b2cd) - [tanstack-router-react-example-quickstart-esbuild-file-based](https://pkg.pr.new/template/778f922c-2b83-4a7c-9a37-b941ef2d8670) - [tanstack-router-react-example-quickstart](https://pkg.pr.new/template/0edadab4-6946-46fb-8a29-4654731664d1) - [tanstack-router-react-example-quickstart-file-based](https://pkg.pr.new/template/2a214ad2-fc91-4714-af14-db3bda6b4ac6) - [tanstack-router-react-example-quickstart-rspack-file-based](https://pkg.pr.new/template/6f618ae7-c01b-480c-a424-ca0522afac3d) - [tanstack-router-react-example-quickstart-webpack-file-based](https://pkg.pr.new/template/4d5a51f0-9b36-47fc-a541-b23dbff142e9) - [router-monorepo-react-query](https://pkg.pr.new/template/11c5ba88-9ef7-4379-a3ed-6b8088e9986b) - [router-mono-simple](https://pkg.pr.new/template/632584be-dabe-4c04-95d1-dcc1a5f210d4) - [tanstack-router-react-example-scroll-restoration](https://pkg.pr.new/template/2f9dd33c-7989-4c8e-b98b-ee3fecb8328a) - [tanstack-search-validator-adapters](https://pkg.pr.new/template/2322dff2-b4f5-4b69-bb5e-01cf5eacda5e) - [tanstack-start-example-basic](https://pkg.pr.new/template/9192d541-3e3a-485f-8cef-56995f797605) - [tanstack-start-example-basic-auth](https://pkg.pr.new/template/7e266ad5-2823-4306-838e-b46538074b77) - [tanstack-start-example-basic-react-query](https://pkg.pr.new/template/97322297-626d-45f4-aa44-725c67631908) - [tanstack-start-example-basic-rsc](https://pkg.pr.new/template/fe1405ea-024f-46fc-acd2-68fb5b0dc8bd) - [tanstack-start-example-clerk-basic](https://pkg.pr.new/template/2e47b2e9-4c91-4506-86e8-fa56cfec2cee) - [tanstack-start-example-convex-trellaux](https://pkg.pr.new/template/9541b666-ba4c-4c16-b955-fdfbed4b494c) - [tanstack-start-example-counter](https://pkg.pr.new/template/80fb3375-e4e3-40ae-81a4-e658d64e0893) - [tanstack-start-example-supabase-basic](https://pkg.pr.new/template/8556cc81-6b1d-45da-b861-f96bcd220806) - [tanstack-start-example-trellaux](https://pkg.pr.new/template/de80467d-ceae-49c1-9418-398f5b6a0f16) - [tanstack-router-react-example-with-framer-motion](https://pkg.pr.new/template/f044b0f3-4d9c-4fe8-b287-d3e1607d6b1e) - [tanstack-router-react-example-with-trpc](https://pkg.pr.new/template/a7987fe6-97da-44f4-b6b6-2278af88e0e4) - [tanstack-router-react-example-with-trpc-react-query](https://pkg.pr.new/template/2f143141-ae22-4646-968c-5b2ecdc74930)

@tanstack/arktype-adapter

``` pnpm add https://pkg.pr.new/@tanstack/arktype-adapter@2785 ```

@tanstack/create-router

``` pnpm add https://pkg.pr.new/@tanstack/create-router@2785 ```

@tanstack/eslint-plugin-router

``` pnpm add https://pkg.pr.new/@tanstack/eslint-plugin-router@2785 ```

@tanstack/history

``` pnpm add https://pkg.pr.new/@tanstack/history@2785 ```

@tanstack/react-cross-context

``` pnpm add https://pkg.pr.new/@tanstack/react-cross-context@2785 ```

@tanstack/react-router

``` pnpm add https://pkg.pr.new/@tanstack/react-router@2785 ```

@tanstack/react-router-with-query

``` pnpm add https://pkg.pr.new/@tanstack/react-router-with-query@2785 ```

@tanstack/router-cli

``` pnpm add https://pkg.pr.new/@tanstack/router-cli@2785 ```

@tanstack/router-devtools

``` pnpm add https://pkg.pr.new/@tanstack/router-devtools@2785 ```

@tanstack/router-generator

``` pnpm add https://pkg.pr.new/@tanstack/router-generator@2785 ```

@tanstack/router-plugin

``` pnpm add https://pkg.pr.new/@tanstack/router-plugin@2785 ```

@tanstack/router-vite-plugin

``` pnpm add https://pkg.pr.new/@tanstack/router-vite-plugin@2785 ```

@tanstack/start

``` pnpm add https://pkg.pr.new/@tanstack/start@2785 ```

@tanstack/start-vite-plugin

``` pnpm add https://pkg.pr.new/@tanstack/start-vite-plugin@2785 ```

@tanstack/valibot-adapter

``` pnpm add https://pkg.pr.new/@tanstack/valibot-adapter@2785 ```

@tanstack/virtual-file-routes

``` pnpm add https://pkg.pr.new/@tanstack/virtual-file-routes@2785 ```

@tanstack/zod-adapter

``` pnpm add https://pkg.pr.new/@tanstack/zod-adapter@2785 ```

commit: 6b97e81