react-component / virtual-list

🧾 React Virtual List Component which worked with animation
https://rc-virtual-list.react-component.now.sh
MIT License
725 stars 154 forks source link

feat: support customListRender #253

Closed crazyair closed 5 months ago

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
virtual-list ❌ Failed (Inspect) Jan 26, 2024 1:28am
codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (814be54) 99.05% compared to head (68dc0dd) 98.90%.

:exclamation: Current head 68dc0dd differs from pull request most recent head c85b09b. Consider uploading reports for the commit c85b09b to get more accurate results

Files Patch % Lines
src/hooks/useChildren.tsx 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #253 +/- ## ========================================== - Coverage 99.05% 98.90% -0.16% ========================================== Files 17 17 Lines 636 637 +1 Branches 134 137 +3 ========================================== Hits 630 630 - Misses 6 7 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

zombieJ commented 9 months ago

Demo 里的例子看起来不能说服我。虚拟列表目的就是有限渲染,不应该渲染额外的内容。

crazyair commented 9 months ago

Demo 里的例子看起来不能说服我。虚拟列表目的就是有限渲染,不应该渲染额外的内容。

默认前后+1渲染的基础上,再提供加载后不卸载的 item