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
My second question is does legend state have any pattern to manage very large amounts of data in flatlists? For example, if a have a local database of a few hundred items I might want to opt to load a chunk of this data at a time an as I paginate the flatlist I cache more chunks of data. That way I'm not caching the entire database at once which would be slow.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm super new to the library but I've been reading the docs and it all looks pretty exciting!
However, there are a few unknowns that I'm not sure about.
My first question is, is it possible to implement cursor based pagination with the crud plugin: https://legendapp.com/open-source/state/v3/sync/crud/ ?
My second question is does legend state have any pattern to manage very large amounts of data in flatlists? For example, if a have a local database of a few hundred items I might want to opt to load a chunk of this data at a time an as I paginate the flatlist I cache more chunks of data. That way I'm not caching the entire database at once which would be slow.
Any help would be super :)
Beta Was this translation helpful? Give feedback.
All reactions