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

docs(router): usage of imports for auth on authentication guide #2813

Closed xiaohuoni closed 5 days ago

xiaohuoni commented 5 days ago

fix typo

nx-cloud[bot] commented 5 days ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit da3aed38e0e90b96d50fddee954ca7e1ed6291f2. 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/FSNLBHwwNR?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --exclude=examples/** --exclude=e2e/**`](https://cloud.nx.app/runs/isEvOa0dK9?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

pkg-pr-new[bot] commented 5 days ago

Open in Stackblitz

More templates

- [tanstack-router-react-example-authenticated-routes](https://pkg.pr.new/template/8e8e8234-58da-48c9-839c-eada22488a3f) - [tanstack-router-react-example-basic](https://pkg.pr.new/template/bbeab8af-179d-49ae-ad41-d16513e281ff) - [tanstack-router-react-example-basic-file-based](https://pkg.pr.new/template/4fd12d7e-072c-400e-b8bd-1b98f3bccf51) - [tanstack-router-react-example-basic-default-search-params](https://pkg.pr.new/template/c4c93c8a-125d-43ac-84ae-52bd68588bc2) - [tanstack-router-react-example-basic-file-based-codesplitting](https://pkg.pr.new/template/3a2a3dba-c886-4797-af8f-2ea1e38dee88) - [tanstack-router-react-example-react-query](https://pkg.pr.new/template/f17f23b4-35f4-4fc3-af25-9b506fcf1fec) - [tanstack-router-react-example-basic-react-query-file-based](https://pkg.pr.new/template/33577764-f341-421d-ada9-10b699c3f3ba) - [tanstack-router-react-example-basic-ssr-file-based](https://pkg.pr.new/template/2c25963a-cefa-40fb-b3f8-59f2e71d66f8) - [tanstack-router-react-example-basic-ssr-streaming-file-based](https://pkg.pr.new/template/737b9036-9a89-42f6-8e4a-e613bc1a1a44) - [tanstack-router-react-example-basic-virtual-file-based](https://pkg.pr.new/template/ae667ba1-488c-4e3b-a6c9-5d74aa1bbc54) - [tanstack-router-react-example-basic-virtual-inside-file-based](https://pkg.pr.new/template/ebbda5a7-319e-4a74-a289-9850291a9310) - [tanstack-router-react-example-deferred-data](https://pkg.pr.new/template/e33b393e-ac09-4d4a-bcbf-1f942af9b87f) - [tanstack-router-react-example-kitchen-sink](https://pkg.pr.new/template/554d90e7-373d-452f-aa4e-be20720b4f47) - [tanstack-router-react-example-kitchen-sink-file-based](https://pkg.pr.new/template/04e282af-d97a-47bd-b38e-18bc3d181f84) - [tanstack-router-react-example-kitchen-sink-react-query](https://pkg.pr.new/template/2cad1cda-20f6-4857-820e-a2ea93cd4bea) - [tanstack-router-react-example-kitchen-sink-react-query-file-based](https://pkg.pr.new/template/a6c300ec-9a5b-4b8e-a0f1-8377da9d887e) - [tanstack-router-react-example-large-file-based](https://pkg.pr.new/template/91d0177c-2102-4d69-93db-73869eb14149) - [tanstack-router-react-example-navigation-blocking](https://pkg.pr.new/template/1fdc86e8-7e8d-4a54-b73b-db4b56314b02) - [tanstack-router-react-example-location-masking](https://pkg.pr.new/template/b5942b04-d97a-44e6-8922-d7d70e8604a1) - [tanstack-router-react-example-quickstart](https://pkg.pr.new/template/852db492-98e5-4ed1-90b4-99503be052c5) - [tanstack-router-react-example-quickstart-esbuild-file-based](https://pkg.pr.new/template/bc3c9afd-bfa6-4335-9a4a-ecc6d705647b) - [tanstack-router-react-example-quickstart-file-based](https://pkg.pr.new/template/487fea80-c2fa-484d-bbe5-8c787c2f4e34) - [tanstack-router-react-example-quickstart-rspack-file-based](https://pkg.pr.new/template/118ed557-5d4d-4eca-9940-300a72214819) - [tanstack-router-react-example-quickstart-webpack-file-based](https://pkg.pr.new/template/f5500400-2bff-4477-a696-ee20248308eb) - [router-monorepo-react-query](https://pkg.pr.new/template/c5de6397-3c30-48e1-a387-219e92e97492) - [router-mono-simple](https://pkg.pr.new/template/a9dac799-b35a-4d26-9e07-b71cb80c31b6) - [tanstack-router-react-example-scroll-restoration](https://pkg.pr.new/template/e2a15a82-622a-4d70-842a-6ed99210676d) - [tanstack-search-validator-adapters](https://pkg.pr.new/template/fce28f98-db9a-491f-9cd8-01542967db68) - [tanstack-start-example-basic](https://pkg.pr.new/template/61dd87ee-c2d6-4d5b-8a91-1bbb6b77eee9) - [tanstack-start-example-basic-auth](https://pkg.pr.new/template/a5d6a022-c341-4ad8-8de3-a339b1e38783) - [tanstack-start-example-basic-react-query](https://pkg.pr.new/template/ab33715a-907d-410f-ab5a-aea56a749f56) - [tanstack-start-example-basic-rsc](https://pkg.pr.new/template/0f1c04e0-00cb-47a1-9d2e-f7cbe9887cae) - [tanstack-start-example-clerk-basic](https://pkg.pr.new/template/6c91b50e-f6dd-4ceb-b896-034cbd842359) - [tanstack-start-example-convex-trellaux](https://pkg.pr.new/template/10c027fe-f0df-4182-b71e-84c3ae62da55) - [tanstack-start-example-counter](https://pkg.pr.new/template/31176144-679a-42ed-832c-6c1eaa2953b5) - [tanstack-start-example-supabase-basic](https://pkg.pr.new/template/d746c502-f289-4d82-8666-a37b26b6622f) - [tanstack-start-example-trellaux](https://pkg.pr.new/template/3ed20daa-6741-490b-a905-2f952afd1d13) - [tanstack-router-react-example-with-framer-motion](https://pkg.pr.new/template/19c68bb4-733b-4e7e-bb28-8ffb079300de) - [tanstack-router-react-example-with-trpc](https://pkg.pr.new/template/b3f13061-e851-4203-b258-752fb015bffd) - [tanstack-router-react-example-with-trpc-react-query](https://pkg.pr.new/template/cdbb993b-fab3-4d42-b353-066025096317)

@tanstack/arktype-adapter

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

@tanstack/create-router

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

@tanstack/history

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

@tanstack/react-cross-context

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

@tanstack/react-router

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

@tanstack/eslint-plugin-router

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

@tanstack/react-router-with-query

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

@tanstack/router-cli

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

@tanstack/router-devtools

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

@tanstack/router-generator

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

@tanstack/router-plugin

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

@tanstack/router-vite-plugin

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

@tanstack/start

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

@tanstack/start-vite-plugin

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

@tanstack/valibot-adapter

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

@tanstack/virtual-file-routes

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

@tanstack/zod-adapter

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

commit: da3aed3