aaronhayes/react-use-hubspot-form

React Developer Tools extension is not working correctly after update to 2.0.1

kshmidt opened this issue · 1 comments

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    React Developer Tools Chrome extension shows an Unsupported React version detected error message after updating to 2.0.1 from 1.2.6
    According to this message facebook/react#17033 (comment), this can be related to external script injection introduced in 2.0.1

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Operating system: macOS Big Sur 11.5.2
Browser: Google Chrome 93.0.4577.63 (Official Build) (x86_64)
Extension: React Developer Tools 4.18.0

package.json

"engines": {
    "node": "14.17.5",
    "npm": "6.14.14"
},
"dependencies": {
    "@aaronhayes/react-use-hubspot-form": "^2.0.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
}

image

Thanks for reporting the bug. I'm happy to accept PRs that fixes this.