Skip to content

Conversation

@KevinVandy
Copy link
Member

This pr exposes an API that used to be private (getIndexes) and makes it a new public API on the virtualizer called getVirtualIndexes.

For TanStack Table examples, I am exploring advanced virtualization performance techniques, and one of those strategies involves subscribing to APIs with less re-renders. For more fixed height virtual elements, this API should re-render a bit less.

@nx-cloud
Copy link

nx-cloud bot commented Feb 3, 2025

View your CI Pipeline Execution ↗ for commit 1baeafb.

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 2m 35s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 18s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-03 00:49:22 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 3, 2025

Open in Stackblitz

More templates

@tanstack/angular-virtual

npm i https://pkg.pr.new/@tanstack/angular-virtual@920

@tanstack/react-virtual

npm i https://pkg.pr.new/@tanstack/react-virtual@920

@tanstack/solid-virtual

npm i https://pkg.pr.new/@tanstack/solid-virtual@920

@tanstack/lit-virtual

npm i https://pkg.pr.new/@tanstack/lit-virtual@920

@tanstack/svelte-virtual

npm i https://pkg.pr.new/@tanstack/svelte-virtual@920

@tanstack/virtual-core

npm i https://pkg.pr.new/@tanstack/virtual-core@920

@tanstack/vue-virtual

npm i https://pkg.pr.new/@tanstack/vue-virtual@920

commit: 1baeafb

@tannerlinsley tannerlinsley merged commit a485978 into main Feb 3, 2025
5 checks passed
@tannerlinsley tannerlinsley deleted the feat-getVirtualRowIndexes branch February 3, 2025 02:10
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.

3 participants