This repository was archived by the owner on Feb 21, 2023. It is now read-only.
This repository was archived by the owner on Feb 21, 2023. It is now read-only.
In combination with MUI and rematch I am getting: Module not found: Can't resolve 'react-block-ui/reduxMiddleware' in #52
Open
Description
store.js
import { init } from '@rematch/core';
import createPersistPlugin from '@rematch/persist';
import { routerMiddleware, connectRouter } from 'connected-react-router';
import { createBrowserHistory } from 'history';
import reduxMiddleware from 'react-block-ui/reduxMiddleware'; // only for redux
import * as models from 'models';
export const history = createBrowserHistory();
const persistPlugin = createPersistPlugin({
blacklist: [
'persist',
],
whitelist: [
'user',
...
],
});
export default init({
models,
plugins: [persistPlugin],
redux: {
reducers: {
router: connectRouter(history),
},
middlewares: [
reduxMiddleware,
routerMiddleware(history),
],
},
});
Error
Double checking package installation
Metadata
Metadata
Assignees
Labels
No labels