You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -347,6 +347,47 @@ export default {
347
347
</script>
348
348
```
349
349
350
+
# Exprimental component: RecycleList
351
+
352
+
It's very similar to virtual-scroller, but:
353
+
354
+
- Faster and less CPU intensive
355
+
- Different HTML structure (don't try doing a `<table>` with it, use divs!)
356
+
- No tag customization
357
+
- No renderers features (use scoped slots!)
358
+
- Recycles scoped slot content (including components) in the list (no destroyed components), depending on item types (customize with `typeField` prop)
359
+
- The components used in the list should expect `item` prop change without being re-created (use computed props or watchers to properly react to props changes!)
360
+
- You don't need to set `key` on list content (but you should on `<img>` elements)
361
+
362
+
Both fixed and dynamic height modes are supported (set `itemHeight` prop for fixed height mode).
0 commit comments