react-inline-grid icon indicating copy to clipboard operation
react-inline-grid copied to clipboard

when i tried implement a Grid with material-ui, i got an error that seems this module requiring react-redux?

Open fidellr opened this issue 8 years ago • 1 comments

Error:

TypeError: Cannot read property 'shape' of undefined
/workt/node_modules/react-redux/lib/components/createAll.js:17
  14 | var _createConnect2 = _interopRequireDefault(_createConnect);
  15 | 
  16 | function createAll(React) {
> 17 |   var Provider = _createProvider2['default'](React);
  18 |   var connect = _createConnect2['default'](React);
  19 | 
  20 |   return { Provider: Provider, connect: connect };

does it required react-redux? i got tht because i use mobx for the state management

fidellr avatar Jan 07 '18 10:01 fidellr

Got the same issue. When trying to implement the package with new material-ui v1. Seems to be an issue with the peer-dependencies on my end. The react-inline-grid package requires a different react version so when I update the versions in the package.json to the required version for material-ui (react@^16.3.0) the inline-grid portions of code seem unable to render. And error with the same error as above occurs. So seems this package is incompatible with the new material-ui. Which is unfortunate since the API is being updated and migration is to the new material-ui stable version is necessary for new API implementation. Please assist. Thank you.

ogiste avatar Aug 26 '18 18:08 ogiste