Samuel Loup
Samuel Loup
Handle changes state in a store, mutate the store when a change occur, new socket connection must get store state, sub to store changes. redux pattern is ideal for that.
i added a pull request for updating minimal exemple of the readme with identified egde data https://github.com/plotly/react-cytoscapejs/pull/49
> Plugins should use Compiler.hooks.xxx.tap(, fn) now So you must change: ``` compiler.plugin("compile", function() { latestStats = null; if (opts.log) opts.log("webpack building..."); eventStream.publish({action: "building"}); }); compiler.plugin("done", function(statsResult) { // Keep...
``` if (options.compiler.hooks) { options.compiler.hooks.done.tap('WebpackServe', done); } else { options.compiler.plugin('done', done); } ```
Yep, it's coming :)