-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I’d like to contribute a RecycleList component for large-list performance.
Why
Normal lists render all items at once, which can cause startup jank with large datasets, especially on lower-end mobile devices.
Proposal
Add a reusable virtualized list component that:
- Renders only rows near the viewport
- Recycles row nodes while scrolling
- Supports dynamic row heights
- Keeps UX consistent with a normal list
Suggested API
RecycleList(RecycleListProps { items: &rows, buffer: 8, render_item: |row, idx| rsx! { ... } })
If accepted, I will submit a PR with
- Primitive implementation in dioxus-primitives
- Styled demo in preview
- Tests and docs
Reference implementation
https://github.com/haywoodfu/dioxus-recycle-list
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
