Skip to content

Is thre a reason for removing the dependency @testing-library/react-hooks in version 1.0.0 #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sangeetha321 opened this issue Oct 18, 2023 · 1 comment

Comments

@sangeetha321
Copy link

Is there a reason for removing the dependency "@testing-library/react-hooks" in version 1.0.0?

After migrating to version 1.0.0, we noticed that this dependency has been removed. We were using this dependency in our application.

[email protected]:
version "0.1.4"
resolved "https://registry.yarnpkg.com/react-azure-maps/-/react-azure-maps-0.1.4.tgz#828f17f09fc74ce11d722a9515e05a2401872829"
integrity sha512-bMkh0p5wASncbvsMO2fCc3XwL5T1b9gV0sRn4WCtd9qweOFaJWxXfwlIE2L8YSj2BjbU2WZaZye+yhcmhsqKgg==
dependencies:
"@testing-library/react-hooks" "^3.2.1"
"@types/uuid" "^7.0.0"
azure-maps-control "2.0.31"
guid-typescript "^1.0.9"
mapbox-gl "^1.10.0"
react-test-renderer "^16.13.0"
rollup-plugin-peer-deps-external "^2.2.2"
rollup-plugin-postcss "^2.1.1"

@yulinscottkang
Copy link
Contributor

yulinscottkang commented Oct 19, 2023

@testing-library/react-hooks has been replaced with @testing-library/react as part of React 18 migration. (Ref).

To use either testing libraries, you should install the package to your application's devDependencies, and not rely on dependecies from react-azure-maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants