pawjs
pawjs copied to clipboard
Problem with LoadableComponent. Null reference.
During routing between different paths I often encounter below error. Need to refresh page. Can't find deterministic cause for this. Any ideas, suggestions? Not sure if bug or problem with my setup
Cannot read property 'loading' of null
TypeError: Cannot read property 'loading' of null
at LoadableComponent.loadModule (webpack:///./node_modules/@pawjs/pawjs/src/components/Loadable.js?:297:18)
at LoadableComponent.loadModule (webpack:///./node_modules/react-hot-loader/dist/react-hot-loader.development.js?:730:25)
at LoadableComponent.componentWillMount (webpack:///./node_modules/@pawjs/pawjs/src/components/Loadable.js?:246:14)
at callComponentWillMount (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:2576:299)
at mountClassInstance (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:2579:216)
at updateClassComponent (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:3061:81)
at beginWork$1 (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:3430:943)
at HTMLUnknownElement.callCallback (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:127:102)
at Object.invokeGuardedCallbackDev (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:147:45)
at invokeGuardedCallback (webpack:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js?:162:126)
Component Stack:
in AppContainer (created by HotExportedApp)
in HotExportedApp
in ErrorBoundary
Thank you