Replies: 1 comment 2 replies
|
Short answer: you need to set Logux on current state is a framework to provide you prototypes to build different systems. Right now out of the box we have full-local system per-model for
But the idea, is that you can define custom store with own local-first logic and with log/channels/reasons primitives define any complex logic. For instance, I am planning to create SQLite stores for full local and end-to-end encryption case. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, not sure if it is a bug or I am doing something wrong, so I’ll start with discussion.
How is offline-first experience supposed to work? I’m using server-client setup with
IndexedStoreand Logux Server storing the data in a DB (i.e. not zero-knowledge) and anything done with remote store does not work if Logux client is disconnected:If I look at IndexedDB rows, there are both last known server actions and not-synced-yet client actions, so I assume that filter’s “response” can be derived from these log entries but alas, as I said, client tries to get hold of connection and does not resolve any promises while in reconnecting state.
Relevant code examples
I have managed to alter some conditionals related to
offlineandremotehandling in@logux/clientwhich results in data being loaded as I expect but these changes make a lot of tests go red and I am struggling to debug and fix them without going really deep into Logux implementation.All reactions