disable-react-devtools icon indicating copy to clipboard operation
disable-react-devtools copied to clipboard

Cannot convert undefined or null to object.

Open sptaszek92 opened this issue 6 years ago • 4 comments

After the React Dev Tools update, all production environments crashes with error:

 Cannot convert undefined or null to object

sptaszek92 avatar Aug 16 '19 13:08 sptaszek92

@sptaszek92 Use @fvilers/disable-react-devtools instead

VdustR avatar Aug 16 '19 14:08 VdustR

Removing package helps :)

michalpokojski avatar Aug 19 '19 07:08 michalpokojski

@michalpokojski funny

VdustR avatar Aug 19 '19 16:08 VdustR

This issue occurs because the property _renderers not exists any more. @fvilers/disable-react-devtools replace all properties and methods to prevent the plugin registration process. It can disable the react dev tools v4 successfully and the react app still works.

VdustR avatar Aug 19 '19 17:08 VdustR