redux-middleware-workers:适用于多个Web Worker的Redux中间件解决方案

时间:2024-05-26 10:31:35
【文件属性】:

文件名称:redux-middleware-workers:适用于多个Web Worker的Redux中间件解决方案

文件大小:48KB

文件格式:ZIP

更新时间:2024-05-26 10:31:35

worker workers redux-middleware webworker webworkers

redux-middleware-workers v1.0.1 推荐技术 安装套件 npm i -save redux-middleware-workers yarn add redux-middleware-workers 例子 // middleware.js // worker loader is a webpack package that loads the worker for you. import firstWorker from 'worker-loader?inline!./first_worker.js'; import secondWorker from 'worker-loader?inline!./second_worker.js'; import newWorkerMiddleware from 'redux-middleware-workers'; con


【文件预览】:
redux-middleware-workers-master
----.babelrc(42B)
----package.json(1KB)
----__tests__()
--------middleware-test.js(4KB)
----PULL_REQUEST_TEMPLATE.md(830B)
----ISSUE_TEMPLATE.md(173B)
----LICENSE(1KB)
----dist()
--------error_check.js(967B)
--------middleware.js(1KB)
----src()
--------error_check.js(697B)
--------middleware.js(797B)
----.gitignore(29B)
----circle.yml(37B)
----README.md(2KB)
----yarn.lock(146KB)
----PROCESS.md(2KB)

网友评论