Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Tanstack Query+Virtual Suspense reactivity

已關閉
#874 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
typescript
領域
frontend

研究方向

從連結的 StackBlitz 最小重現開始,比較啟用 Suspense 與將 Suspense 註解掉時的虛擬列表。閱讀 TanStack Virtual 的 Solid 整合,以及重現中展示的 query/Suspense 設定。使用 TanStack Query 和 Suspense 時虛擬列表能夠正確呈現,即表示完成。

由索引模型根據 Issue 內容生成。

描述

Describe the bug

I am having problems with suspense and query+virtual displaying the virtual list, using it without virtual and only query works fine though

Your minimal, reproducible example

https://stackblitz.com/edit/solidjs-templates-ztdgo1

Steps to reproduce

Just comment out suspense to see that it works afterwards

Expected behavior

tanstack virtual should work with suspense and tanstack query

How often does this bug happen?

Often

Screenshots or Videos

No response

Platform

Linux

tanstack-virtual version

latest

TypeScript version

latest

Additional context

No response

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
主要語言
TypeScript
星號
7.2k
分支
479
平均合併
21 小時 1 分鐘
30 天內合併 PR
41

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TanStack/virtual 的其他 Issue

查看 TanStack/virtual 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。