logux / client

Logux base components to build web client
https://logux.org/
MIT License
656 stars 46 forks source link

indexed-store pagination #108

Open nichoth opened 6 months ago

nichoth commented 6 months ago

In the source code I do not see a way that LogPage.next could exist. Does this implementation load all entries into memory (not paginating them)?

ai commented 6 months ago

It is just IndexedDB doesn’t use pagination because low-level IndexedDB API is hard.

The method works, you can use it in own implementation.

For IndexedStore I will need a PR for adding pagination.