BREAKING CHANGES
overscan
prop has been replaced bybufferSize
prop, to provide a better default regardless of the size of items. See #378 for the motivation.
// before
<VList overscan={10}>
{...}
</VList>
// after (x should be the average item size of your list)
<VList bufferSize={10 * x}>
{...}
</VList>
- When
ssrCount
was set,ssrCount + overscan
items were (unintentionally) rendered. NowssrCount
items will be rendered.
// before
<VList ssrCount={10}>
{...}
</VList>
// after (default overscan was 4)
<VList ssrCount={10 + 4}>
{...}
</VList>
What's Changed
- Replace overscan prop with bufferSize by @inokawa in #647
- Optimize initial render pass by @inokawa in #790
Full Changelog: 0.45.3...0.46.0