items-store
items-store copied to clipboard
A flux-like architecture with a syncing items store
Say I have an API that supports query filters (e.g. most notably for use in an autocomplete component). I am trying to fit that workflow into the items-store pipeline but...
This PR let's us pass react-router's `query` object into our `static getProps` and `chargeStores` methods. It does not break backwards compatibility with the `chargeStores` api, which expects a callback as...
Opened separate issue related to [this comment](https://github.com/webpack/items-store/pull/5#issuecomment-136444758). We currently don't have access to the `query` param which React Router normally injects. We _do_ however have access to the `params` object.
I have some questions + assumptions. Most are due to my API being rather simple, and items-store providing (more) optimisations than i want to break my head over right now....
I am trying to use `items-store` to talk to a rather normal JSON REST API. It most, it uses the HTTP methods GET, DELETE, POST (create new item), and PUT...
specifically isomorphic web apps? the https://github.com/spoike/refluxjs project is really user friendly but wat it lacks is server side compatibility
add - `readAndStreamSingleItem` - `readAndStreamMultipleItems` - `endStreamForSingleItem` - `endStreamForMultipleItems` items that are streamed don't become outdated