cycle-fetch-driver
cycle-fetch-driver copied to clipboard
Cycle.js for the Fetch API
Shamelessly copied/adapted from cyclejs/cycle-http-driver Fixes #12
Add support for the next version of Cycle.js which is stream agnostic. Possibly porting to xstream (as the other core drivers are doing) or possibly in a stream agnostic fashion...
Currently if multiple subscribers subscribe to one http request all get the same `response` object. Now if multiple subscribers (or somewhere in the chain) call `response.json()` (or other reading methods)...
Currently the driver takes in either a string or an object with `url`, `input`, `init` keys. These keys were based on the function signature in the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/API/GlobalFetch/fetch) but they...
https://github.com/cyclejs/isolate
@secobarbital I found a way to do proper collaboration with npm packages. I found how you can publish the `@cycle/fetch` package yourself. I just need your username in npm and...
BehaviorSubject is supposed to more performant with different semantics on complete. However directly replacing the ReplaySubject with a BehaviorSubject breaks the tests, so this issue tracks this substitution.