4 ms·
This looks interesting. I’m guessing it’s in memory only, and so has load the whole dataset? Quite similar to LokiJS: https://github.com/techfort/LokiJS http
by samwillis 5y ago
This looks interesting.
I’m guessing it’s in memory only, and so has load the whole dataset?
Quite similar to LokiJS:
https://github.com/techfort/LokiJS https://github.com/techfort/LokiJS
I like how’s its modular so you only have to include the bits you want and not a massive library.
- jamesgpearce 5y agoYou can persist the Store to local or session storage (in a browser), to a file (where available) or to a remote server. More on the concept of 'Persisters' is in https://tinybase.org/guides/schemas-and-persistence/persisting-data https://tinybase.org/guides/schemas-and-persistence/persisti... You can see this in action in the TinyDraw demo: https://tinybase.org/demos/tinydraw https://tinybase.org/demos/tinydraw - make some changes, refresh the page, even open it up in two windows of the same browser at the same time.