0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/start-clerk-basic
Sheraff 766769b4fc
Merge origin/main into compiler-rewrite/yuku
main c156097786: #8858, #8863, #8805, #8269, #8866, #8867, #8868, #8869,
#8870, #8871, #8876, #8888, #8889, #8890, #8892, Version Packages
(#8854, #8891) and docs.

- #8817's side and deletions throughout (Babel compilers, start-compiler,
  add-hmr, start-app.ts, server-fn-id-check.ts, router-utils ast.ts).
  The lines main changed for #8863, #8866, #8868, #8269 and #8889/#8892
  stay #8817's here: their fixes follow as separate commits after the
  tests that reproduce them.
- @rsbuild/core 2.3.1 (#8890) in the catalog, the examples and
  benchmarks/compiler-perf; Start's peers keep #8817's ^2.2.13 floor.
  Lockfile and e2e/react-start/basic's route tree regenerated.
- Tests: main's start-vite-root, start-rsbuild-root, rsbuild
  server-compress and router-plugin production-warnings tests are
  replaced by their ports in the harness (start-build-roots,
  dev-server-config, production-bundle); main's start-dev-restart test
  is ported to the dev-server harness and replaces resolve-entries.test.ts
  (internals). #8817's Rsbuild SPA dev case gives way to main's
  spa-shell e2e. The route HMR `hot` binding test gains main's unsplit
  case (#8870).
- KNOWN-BUGS: main fixed decorators after `export` (#8867) and the
  Rsbuild sibling-route manifest (#8780, #8876).
- Changesets: drop what main ships now (custom server-fn ids, the Rsbuild
  manifest and SPA/compress items, exsolve, Vue store pre-bundling,
  falsy `use` entries, `.ts` route HMR).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-08 12:12:53 +01:00
..
.devcontainer docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
.vscode chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
public feat(react-router): add context option to route (#2104) 2024-08-20 13:39:17 -06:00
src chore(examples): regenerate route trees through the example builds 2026-10-26 13:18:57 +01:00
.env examples:start-clerk-basic fixed .env (#5735) 2025-11-08 01:35:45 +01:00
.gitignore chore(examples): Use Clerk devinxi version (#4392) 2025-07-01 00:06:23 +02:00
.prettierignore chore(examples): cleanup the deps for the start examples (#2388) 2024-09-21 22:21:59 +12:00
package.json ci: Version Packages (#8891) 2026-11-08 10:47:39 +01:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
tsconfig.json chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
vite.config.ts docs: update examples/e2e to vite 8 (#6958) 2026-03-17 20:37:11 +01:00

TanStack Start - Clerk Authentication Example

This site is built with TanStack Router and Clerk Authentication!

Start a new project based on this example

To start a new project based on this example, run:

npx gitpick TanStack/router/tree/main/examples/react/start-clerk-basic start-clerk-basic

Deployment

It's deployed automagically with Netlify!

Getting Started

From your terminal:

pnpm install
pnpm dev

Build

Build for production:

pnpm build

About This Example

This example demonstrates:

  • Clerk authentication integration
  • Protected routes
  • User management
  • Authentication UI components