Skip to content

blog: TanStack Virtual just got a lot faster, and finally handles iOS#934

Open
tannerlinsley wants to merge 3 commits into
mainfrom
taren/blog/virtual-perf-and-ios
Open

blog: TanStack Virtual just got a lot faster, and finally handles iOS#934
tannerlinsley wants to merge 3 commits into
mainfrom
taren/blog/virtual-perf-and-ios

Conversation

@tannerlinsley
Copy link
Copy Markdown
Member

@tannerlinsley tannerlinsley commented May 20, 2026

Summary

  • New blog post at /blog/tanstack-virtual-perf-and-ios
  • Covers the recent virtual-core perf release: lazy typed-array fast path, iOS Safari deferral, backward-scroll default change, takeSnapshot() API, and the Map-clone bug story
  • Library tag: virtual
  • Author: Tanner Linsley
  • Published date: 2026-05-19

Verification

  • pnpm content:build clean (frontmatter schema validates)
  • pnpm test clean (0 errors, 10 pre-existing warnings unrelated to this PR)
  • pnpm test:smoke blog post resolves (✓ blog post); the query/router/table docs failures in the worktree are pre-existing and need DB env vars not set locally

Test plan

  • Check the published post renders at /blog/tanstack-virtual-perf-and-ios in preview
  • Verify the post shows up on the /blog index sorted by date
  • Verify the OG image generates cleanly
  • Light editorial pass on voice / tone if needed

Summary by CodeRabbit

  • Documentation
    • Published a performance release announcement for TanStack Virtual covering faster cold mounts at scale, reduced resize and options overhead, and iOS Safari scrolling momentum fixes.
    • Described elimination of backward-scroll jank, introduced a scroll-restoration snapshot API with persistence examples, and included benchmark results, bundle delta notes, unit-test counts, planned next steps, and a cross-library benchmark mention.

Review Change Stack

Release writeup for the recent virtual-core perf rewrite + iOS Safari
momentum-scroll handling. Covers the Map-clone bug fix, the lazy
typed-array fast path, the new iOS deferral, the backward-scroll
default change, and the takeSnapshot() API.

Smoke tests for query/router/table docs fail in worktree (need DB env
vars); the blog smoke test passes for this post.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d879f88b-26fd-48b9-a457-39ce05e19e4c

📥 Commits

Reviewing files that changed from the base of the PR and between b9e3d60 and 384b954.

📒 Files selected for processing (1)
  • src/blog/tanstack-virtual-perf-and-ios.md
✅ Files skipped from review due to trivial changes (1)
  • src/blog/tanstack-virtual-perf-and-ios.md

📝 Walkthrough

Walkthrough

Adds a new blog post announcing a TanStack Virtual performance release, describing runtime improvements, iOS Safari scrolling fixes, the new virtualizer.takeSnapshot() scroll-restoration API with example, benchmark results, and roadmap items.

Changes

TanStack Virtual Performance Release Announcement

Layer / File(s) Summary
Complete release announcement blog post
src/blog/tanstack-virtual-perf-and-ios.md
Full blog post covering performance improvements (measurement caching, faster cold mounts, reduced resize/setOptions overhead), iOS Safari momentum-scroll fix (deferred scrollTop writes), direction-gated backward-scroll jank elimination, new virtualizer.takeSnapshot() scroll restoration example, benchmark comparison table, bundle/test metrics, and remaining roadmap items.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 I hopped through lines of change and cheer,
Metrics brighter, scrolls more clear,
iOS bounces now behave,
Snapshots save the scroll we crave,
A tiny hop — performance near.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: adding a blog post announcing TanStack Virtual performance improvements and iOS handling.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch taren/blog/virtual-perf-and-ios

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

Copy link
Copy Markdown

@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

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/blog/tanstack-virtual-perf-and-ios.md`:
- Line 10: In the sentence containing the phrase "TanStack Virtual end to end"
replace "end to end" with the hyphenated compound "end-to-end" so the line reads
"I spent three days last week auditing TanStack Virtual end-to-end, ..." —
update the exact occurrence of that phrase in the file (search for "TanStack
Virtual end to end") to use the hyphenated form.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 070d3324-2bf4-4737-b92a-039e44adb741

📥 Commits

Reviewing files that changed from the base of the PR and between 73c6f64 and b9e3d60.

📒 Files selected for processing (1)
  • src/blog/tanstack-virtual-perf-and-ios.md

Comment thread src/blog/tanstack-virtual-perf-and-ios.md Outdated
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