-
Notifications
You must be signed in to change notification settings - Fork 0
Redux Store
When everything is setup correctly, the redux store will have a top level key for entities, which contains the following things:
Containers are discretely issued to each instance of each entities-wrapped component. Containers contain meta information about what the wrapped component demands. For example, it contains:
- type - the type of entity (defined by your records file)
- ids - the list of ids which belong to the current collection for that component
Entities is the denormalized entity store. The output is converted into an immutable object straight from normalizr.
The request cache. Values of this Map are request description objects, whose cache keys are generated by JSON.stringifying their request description. For example, if I make a request to /contacts?status=strong&q=hi, the cache key for that request will be: {"uri": "contacts", "params": {"status": "strong", q: "hi"}}.