TypeError: Cannot read property 'upgradeElements' of undefined #500
Description
I have a big problem when I run my app and I am using react-mdl.I think the problem is with mdl component because I see this error all the time
MDLComponent.js:38 Uncaught TypeError: Cannot read property 'upgradeElements' of undefined
at MDLComponent.componentDidMount (MDLComponent.js:38)
at ReactCompositeComponent.js:264
at measureLifeCyclePerf (ReactCompositeComponent.js:75)
at ReactCompositeComponent.js:263
at CallbackQueue.notifyAll (CallbackQueue.js:76)
at ReactReconcileTransaction.close (ReactReconcileTransaction.js:80)
at ReactReconcileTransaction.closeAll (Transaction.js:209)
at ReactReconcileTransaction.perform (Transaction.js:156)
at batchedMountComponentIntoNode (ReactMount.js:126)
at ReactDefaultBatchingStrategyTransaction.perform (Transaction.js:143)
at Object.batchedUpdates (ReactDefaultBatchingStrategy.js:62)
at Object.batchedUpdates (ReactUpdates.js:97)
at Object._renderNewRootComponent (ReactMount.js:319)
at Object._renderSubtreeIntoContainer (ReactMount.js:401)
at Object.render (ReactMount.js:422)
at Object../src/index.js (index.js:7)
at webpack_require (bootstrap a7ff12e06c18f8901ead:669)
at fn (bootstrap a7ff12e06c18f8901ead:87)
at Object.0 (serviceworkerdev.js:9)
at webpack_require (bootstrap a7ff12e06c18f8901ead:669)
at bootstrap a7ff12e06c18f8901ead:715
at bundle.js:719
Can someone please help me