Using Flux to communicate with Web Workers, so as to perform all non-ui interaction using non-blocking threads.
Distribute the work automatically by passing the action through a worker. It's extremely similiar to a techniqued used in flux-mirror.
Build is done using webpack.
npm install && npm run build
This run on webpack-dev-server. Start it as so:
npm run serve
Open up browser at http://localhost:8080
Promise Based solution for web-workers is probably a smarter approach?
// utils/ActionWorker.js
const worker = require('worker!./Api')
// wrap worker into promis
// use like an axios style or fetch.
const workios = promisifiedWorker(worker).doAction()...
LaggyThing.getPrime().then(this.dispatch());