Skip to content

feat: Add public routes in tanstack start - #766

Open
aXenDeveloper wants to merge 1 commit into
feat/tanstack_start_6from
feat/tanstack_start_7
Open

feat: Add public routes in tanstack start#766
aXenDeveloper wants to merge 1 commit into
feat/tanstack_start_6from
feat/tanstack_start_7

Conversation

@aXenDeveloper

Copy link
Copy Markdown
Owner

Improving Documentation

Description

What?

Why?

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vitnode-docs Ready Ready Preview Aug 28, 2026 12:32pm

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9a0800d472

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +330 to +331
export const myFilesQueryKey = (params: MyFilesParams) =>
[...MY_FILES_QUERY_ROOT, params] as const;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Scope the files cache to the authenticated user

When one user visits /files, signs out, and another user signs in without a document reload, this key still identifies the first user's cached page because it contains only "files", "me", and the table parameters. The browser QueryClient is long-lived, the auth actions invalidate only the session query, ensureQueryData can reuse existing data, and the configured refetchOnMount: false prevents the component from correcting it, so the second user can be shown the first user's file names, metadata, and URLs. Include the user ID in this key or remove this query family whenever authentication changes.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💡 Feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant