bamlab / bamlab/react-tv-space-navigation

Low performance with a SpatialNavigationVirtualisedList and lots of data

Open
#138 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
319
Forks
46
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
```tsx

```

**Expected behavior**
The list is lazy loading and maintains high performance correctly.

**Actually behavior**
The list is loaded all at once without any lazy loading logic being applied

**Version and OS**
- Library version: 3.6.1
- React Native version: 0.72.0

**Additional context**
Use a data set of at least 40 elements, as render items we need to use other SpatialNavigationVirtualisedLists, so we have a SpatialNavigationVirtualisedList that renders other SpatialNavigationVirtualisedLists
All render item have differnt height size

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the SpatialNavigationVirtualizedList implementation and reproduce the issue using at least 40 elements, nested SpatialNavigationVirtualizedLists, and render items with different heights. Verify that numberOfRenderedItems and numberOfItemsVisibleOnScreen limit work as expected, and that the list is lazy-loaded rather than rendering all items at once.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.