Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@wq/store

wq206MIT2.0.0

Locally-persistent, optionally server-populated JSON datastore(s)

wq, store, offline

readme

@wq/store

@wq/store is a wq.app module providing a persistent storage API for retrieving and querying JSON data from a web service via AJAX. @wq/store is used internally by @wq/app to store model data (via @wq/model) and application configuration. @wq/store relies extensively on Redux to manage state, with Redux Persist and localForage to handle the work of storing data offline in IndexedDB.

@wq/store is almost always used in conjunction with @wq/outbox to sync local changes (i.e., form submissions) back to the server.

Documentation

InstallationAPIQuery ObjectsConfigurationPluginsMethods