Hacker News new | ask | show | jobs
by xyzzy123 3994 days ago
There is a funny (somewhat related) thing I've been trying recently, which is just using pouchdb to hold the application state and using pouchdb change listeners to propagate database content straight into views.

For smallish amounts of content, re-querying the entire dataset out of pouch every time a change happens works fine.

For tables with e.g. several thousand rows, I started to need an explicit cache however, and update it with only the changed documents.