logux / client

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

use since when creating offline remote filters #95

Closed ngalaiko closed 2 years ago

ngalaiko commented 2 years ago

Creating this PR after discussion with @ai in https://github.com/logux/logux/issues/107.

I want to minimise data transfer and loading time in a case of large filters for offline and remote stores.

This PR utilises since key when creating a filter to only request actions that client has missed. Previously every action was sent from the server on every new subscription (when using addSyncMapFilter sugar)

ai commented 2 years ago

We will need a test for this feature as well

ngalaiko commented 2 years ago

@ai I've force-pushed a test

ai commented 2 years ago

Great work. Released in 0.18.1.