Closed KazariEX closed 10 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 16, 2023 5:45am |
你说的对,计划使用 useVirtualList 实现搜索的虚拟列表。
搜索页面:删了一些冗余的 css 类,然后这个在
span
里的div
很感人,换了个写法,能少渲染4n
个span
。另外是否可以考虑使用虚拟列表,后面数据量大起来可能会造成性能下降;实际上,在当前的数据量下打开控制台时已经无法正常调试了。