Describe the bug
There is an issue with limits and loading data at IndexFeed component. It is constantly updated until it reaches the limit of 100 entries. Passing limit, or initialRenderLimit doesn't change anything. But if you use this in manual mode (without infinite scroll) then works well.
Describe the bug There is an issue with limits and loading data at
IndexFeed
component. It is constantly updated until it reaches the limit of 100 entries. Passinglimit
, orinitialRenderLimit
doesn't change anything. But if you use this in manual mode (without infinite scroll) then works well.To Reproduce Steps to reproduce the behavior:
v1.Posts
component thereYou can go both ways:
IndexFeed
component and try to addconsole.log("items: ", items)
on this line. Then reload a page and pay attention at you consoleExpected behavior
IndexFeed
component should load data according tolimit
and do not re-render without a reason.Additional context Related issue https://github.com/near/near-discovery/issues/1012