CodeBrowser / npm / react-hook-geolocation
react-hook-geolocation@1.1.0
// React hook for geolocation access
$ npm install react-hook-geolocation
downloads/wk
2,978
license
MIT
version
1.1.0
published
Aug 19, 2022
What is react-hook-geolocation?
react-hook-geolocation is a React hook that provides access to the browser's Geolocation API, allowing you to retrieve a user's location coordinates within your application. Developers use it to simplify integrating location-based features like maps, location services, or proximity detection without directly managing the Geolocation API lifecycle.
Keywords
#react #hook #geolocation
Maintainers
bence.a.toth