cycle-restart
cycle-restart copied to clipboard
Swap out the code in your Cycle.js apps on the fly!
Just started using Cycle.JS and cycle-restart so the following may be just my ignorance :) When using `isolate` in an app, no changes to the DOM code are loaded visibly...
```js //http like driver for graphql/apollo const response$$ = xs.merge(queryResponse$$, mutation$, subscription$) response$$.subscribe({}) var select = (category) => { return category ? response$$.filter(responseFilter(category)) : response$$ } var resulting = Object.assign(response$$,...
This updates all available dependencies, I have no idea how the tests work, so no idea if this should be merged or not
Given the following code in an intent: ``` javascript const assetUpdate$ = id$ .flatMapLatest(id => Observable .merge( DOM .select('.title') .events('input') .map((e) => ({ id, title: e.target.value, })) ) ) .do(()...
The cycle-history driver adds extra properties for accessing history functions https://github.com/cyclejs/history/blob/master/src/makeHistoryDriver.js#L95-L96 I find that these are stripped off from sources. For reference I'm using this code https://github.com/OpenDirective/brian/blob/master/client/src/js/runHot.js I guess I'm...
[systemjs-hot-reloader](https://github.com/capaj/systemjs-hot-reloader) provides a `__reload` hook for each module, which can be used like so: ``` js var state = []; export function addItem(text) { state.push(text); } export function removeItem(text) {...