redux-in-worker
redux-in-worker copied to clipboard
How to work with Next JS?
Error: Cannot find module 'core-js/modules/es.object.define-property'
Require stack:
- /workspaces/project/node_modules/redux-in-worker/dist/index.js
- /workspaces/project/.next/server/pages/_app.js
- /workspaces/project/node_modules/next/dist/next-server/server/require.js
- /workspaces/project/node_modules/next/dist/next-server/server/load-components.js
- /workspaces/project/node_modules/next/dist/next-server/server/api-utils.js
- /workspaces/project/node_modules/next/dist/next-server/server/next-server.js
- /workspaces/project/node_modules/next/dist/server/next.js
- /workspaces/project/node_modules/next/dist/server/lib/start-server.js
- /workspaces/project/node_modules/next/dist/cli/next-dev.js
- /workspaces/project/node_modules/next/dist/bin/next
Thanks for reporting. I think I should update the way to build, which may fix something. I'll work on it.
Would you try the codesandbox build? https://ci.codesandbox.io/status/dai-shi/redux-in-worker/pr/23 See "Local Install Instructions"
Published: https://www.npmjs.com/package/redux-in-worker/v/0.8.0
@dai-shi , is it possible to use with this wrapper?
https://codesandbox.io/s/next-worker-l92x4
hmm, I'm not familiar with the wrapper. It creates store on demand? multiple times? all I could say is give it a try...