popup.js:6 [Deprecation] Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.
When i am using reactJs in my project and send something to my state. i got this warning. I searched a lot but couldn't find anything. Can someone explain what this warning is about? and how to fix it.
In answer to your first question 'can someone explain this error is for what?' - The warning is pretty much self explanatory, and more information can be found following the link.
And in terms of getting rid of it - it may or may not be in your control. If the warning is being triggered from the file that you have control over, then you will probably have to fix it (again, the warning that gets logged should help). But this may be getting triggered by the file that you don't have control over (E.g., browser extension or some library / framework). Here's how you can check that...
I have been seeing the same warning for quite a while now (about a month or two). In my case, it turned out to be an issue with one of the chrome extensions (google dictionary).
Here's how I figured that out...
chrome://extensions?id=mgijmajocgfcbeboacabfgobmjgjcoja
in chrome and it showed me google dictionary extension.
It may not necessarily be the extension, it could be one of your files or some library / framework files.
Hope this helps!
it happen for me to adding adblock extension.. so if you have then remove it. and reload the page see ..
If it is actually the google dictionary or another chrome extension triggering this, you can work around it by setting the extensions' site access to 'On click', so you don't have to deactivate or remove it. Though then you have to click the extensions every time you want to use it.
You could also set it to be allowed on certain sites only, not very useful.
I'd love to have it the other way 'round, setting sites where I don't want to use it, like the development sites I am working on.
But then again, it is only cosmetics, well, as long as you do not produce or have to work on code that uses such deprecated elements )))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With