Skip to content

Conversation

@Jaime02
Copy link

@Jaime02 Jaime02 commented Feb 11, 2026

TODO: check if there are broken links in other examples ...

Summary by CodeRabbit

  • Documentation
    • Updated documentation URL reference in React virtualized rows example.

@changeset-bot
Copy link

changeset-bot bot commented Feb 11, 2026

⚠️ No Changeset found

Latest commit: d188f1c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

📝 Walkthrough

Walkthrough

A documentation URL in a comment was updated from one path structure to another in the virtualized rows example file. The change reflects a restructured documentation URL path without affecting any code behavior or functionality.

Changes

Cohort / File(s) Summary
Documentation URL Update
examples/react/virtualized-rows/src/main.tsx
Updated documentation link in comment from tanstack.com/virtual/v3/docs/examples/react/table to tanstack.com/virtual/v3/docs/framework/react/examples/table, reflecting reorganized documentation structure.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

🐰 A URL hops to a new place,
Documentation finds its grace,
The path is rearranged with care,
Framework structure now lies there,
One small comment, bright and clear! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete and off-template. It lacks required sections from the template (Changes, Checklist, Release Impact) and contains only a TODO note instead of substantive information. Complete the description using the provided template: add a detailed explanation of the link fix under 'Changes', fill out the Checklist, and clarify whether this requires a changeset under 'Release Impact'.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: fixing a documentation URL in a TanStack virtual example, which matches the single-line comment update in the changeset.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@examples/react/virtualized-rows/src/main.tsx`:
- Line 23: In the experimental example's main.tsx update the outdated comment
URL: find the string "/docs/examples/react/table" in
examples/react/virtualized-rows-experimental's main.tsx and replace it with the
new path "/docs/framework/react/examples/table" so the comment matches the
updated documentation structure.


//This is a dynamic row height example, which is more complicated, but allows for a more realistic table.
//See https://tanstack.com/virtual/v3/docs/examples/react/table for a simpler fixed row height example.
//See https://tanstack.com/virtual/v3/docs/framework/react/examples/table.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

site:tanstack.com/virtual/v3/docs/framework/react/examples/table

💡 Result:

The URL you searched points to TanStack Virtual v3 → React Example: Table, which demonstrates virtualizing 50,000 rows in a <table> by combining @tanstack/react-table (row model + sorting) with @tanstack/react-virtual (useVirtualizer). It renders only the visible rows and positions each <tr> using a translateY(...) transform computed as virtualRow.start - index * virtualRow.size (table-specific offset handling). [1]

Sources: [1] (tanstack.com)

Citations:


🏁 Script executed:

#!/bin/bash
# Search for TanStack Virtual documentation URLs that may use old or new path structures
echo "=== Searching for tanstack.com/virtual references ==="
rg -n 'tanstack\.com/virtual' --type=tsx --type=ts --type=jsx --type=js --type=mdx --type=md

echo -e "\n=== Searching for /docs/examples/ pattern (old structure) ==="
rg -n '/docs/examples/' --type=tsx --type=ts --type=jsx --type=js --type=mdx --type=md

echo -e "\n=== Searching for /docs/framework/ pattern (new structure) ==="
rg -n '/docs/framework/' --type=tsx --type=ts --type=jsx --type=js --type=mdx --type=md

Repository: TanStack/table

Length of output: 339


🏁 Script executed:

#!/bin/bash
echo "=== Searching for all tanstack.com/virtual references ==="
rg -n 'tanstack\.com/virtual'

echo -e "\n=== Searching for /docs/examples/ pattern (old structure) ==="
rg -n '/docs/examples/'

echo -e "\n=== File count in examples/react/ ==="
find examples/react -type f -name "*.tsx" -o -name "*.ts" -o -name "*.jsx" -o -name "*.js" -o -name "*.md" | head -20

echo -e "\n=== Check main.tsx content ==="
cat examples/react/virtualized-rows/src/main.tsx | head -30

Repository: TanStack/table

Length of output: 3785


Update the outdated documentation URL in the experimental example as well.

The updated URL at line 23 of examples/react/virtualized-rows/src/main.tsx is correct, but examples/react/virtualized-rows-experimental/src/main.tsx at line 19 still references the old path structure (/docs/examples/react/table). Update it to use the new path: /docs/framework/react/examples/table.

🤖 Prompt for AI Agents
In `@examples/react/virtualized-rows/src/main.tsx` at line 23, In the experimental
example's main.tsx update the outdated comment URL: find the string
"/docs/examples/react/table" in examples/react/virtualized-rows-experimental's
main.tsx and replace it with the new path "/docs/framework/react/examples/table"
so the comment matches the updated documentation structure.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant