Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Reactive List stalls returning the correct data on initial applied filters #1532
Comments
|
Hey @aoloo Thanks for reporting the issue Can you specify the correct library version? Also, it would be really great if you can create a repro on Codesandbox. This will help us debug the issue quickly and improve the experience. |
|
@jyash97 The version we are using is 3.12.2. I will consult with my team lead on getting a repo set up. At the moment is this enough information for you? |
|
@jyash97 Reproducing this will be difficult because it is related to my work code base. I am not sure the best to replicate the exact issue on codesandbox. Please let me know if you have any suggestion or insight on this issue. I greatly appreciate your time. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Affected Projects
React
Library Version: x.y.z
9.6.15
Describe the bug
When ReactiveList is returning data from applied filters the data results is incorrect. After numerous re render the data and stats count are correct. It appears ReactiveList during re render stalls providing the correct data until the last render hit. Sometimes it does not return the expected data with the filter applied after numerous render.
To Reproduce
Our app has over 50 filters that utilizes reactive list. When filters are applied on the app and the user refreshes the page. Reactive List lags and returns different data on re-render. Reactive List lags returning the correct data result from the applied filter.
Expected behavior
It is expected that when a user refreshes the page with filters applied. The results returns the correct data without any lag or staled data.
Screenshots

Without specified filter applied. Total unfiltered results.
When Filter is applied without page reload

renderResultStats stats count

As you can see the results lags retrieving the correct data.
When refreshing the page with filter applied
The data stalls even more not returning the correct result, until the last render.
Desktop (please complete the following information):
OS: Ubuntu 18
Browser: chrome, firefox
Version: latest
Smartphone (please complete the following information):