json-api-store
json-api-store copied to clipboard
An isomorphic JavaScript library that acts as an in memory data store for JSON API data.
Like this: https://github.com/algolia/algoliasearch-client-js/blob/1c8df9d09d683915a414e7df87a14236e50dd53c/.gitattributes
It'd be nice to have a dedicated deprecation function that can be scanned for easily and doesn't trigger eslint warnings.
JSON API Store should work when a "link" member is provided in the relationship instead of a "data" member. There should also be support for pagination.
``` javascript import Store from "json-api-store"; class Product extends Store.Model { title = Store.attr(); } var store = new Store(); store.define([ "products", "product" ], Product); ```
At some point there'll probably be a need to do support releases for older versions of the library. In these cases the release processes is pretty much the same, expect...