Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work this stuff in at some point ... #9

Open
fireflysemantics opened this issue Feb 12, 2021 · 1 comment
Open

Work this stuff in at some point ... #9

fireflysemantics opened this issue Feb 12, 2021 · 1 comment

Comments

@fireflysemantics
Copy link
Owner

Data Manipulation and Searching

The core API is tiny and the intention is to delegate DML (Data Manipulation Language) to pure javascript, RxJS, and if more super powers are needed use something like Sift.

For example a snapshot of all entities can be retrieved via store.selectAll() and this array could then be processed by Sift. Sift or lodash could also complement real time capabilities provided by RxJS when used in a live stream context.

For very large data sets, more advanced filtering, and persistance save tables to Indexeddb via Dexie. We will be producing tutorials on how to do this soon, but here's the first installment:

As can be seen it is very easy to save and retrieve entities with DexieJS and no directly coupling to the Slice state manager is necessary. For more Typescript one to many exmaples se the DexieJS Typescript documentation:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant