react-render-debugger
react-render-debugger copied to clipboard
Cannot read property 'renderLog' of null
Something went wrong: TypeError Cannot read property 'renderLog' of null
TestConta er (created by Connect(TestConta er)) Connect(TestConta er) (created by Route) Route Switch div Router (created by ConnectedRouter) ConnectedRouter (created by Connect(ConnectedRouter)) Connect(ConnectedRouter) Provider ErrorBoundary
Hello,
Could you please provide more details - snippet of code that is failing, what library versions are you using?
Thanks!
install my https://bitbucket.org/gwmaster_gwm/multiprojectstarter/src/master/ and set you code on
src/appsDevelop/starterProject/containers/myComponent/myComponent.js
run npm i npm run starterProject:start
then navigate
I had this problem too. Debugging revealed that the error is caused by this.state (of the decoratee component) being null. If you default this.state of your decoratee component to an empty object, the error does not occur.
Would you like to submit a merge request that would fix this?