react-use-hubspot-form icon indicating copy to clipboard operation
react-use-hubspot-form copied to clipboard

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

Open kshmidt opened this issue 3 years ago • 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 https://github.com/facebook/react/issues/17033#issuecomment-553844673, 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

kshmidt avatar Sep 08 '21 13:09 kshmidt

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

aaronhayes avatar Sep 08 '21 23:09 aaronhayes