react-geolocated

React hook for using Geolocation API

MIT License

Downloads
58.8K
Stars
296
Committers
12

Bot releases are hidden (Show)

react-geolocated - TypeScript type definitions

Published by no23reason about 8 years ago

New features

  • Added TypeScript type definitions
react-geolocated -

Published by no23reason about 8 years ago

New features

  • Initial working release
react-geolocated - Handle Firefox behaviour when API call is not allowed

Published by no23reason over 8 years ago

Adds the option to specify timeout for the user decision to allow us to fallback to not enable state even when the browser (Firefox) does not return an error from the Geolocation API call.

New features

  • Added the userDecisionTimeout config option

Enhancements

  • Made the default config values declaration simpler
  • Improved the build process by cleaning the output directory first
react-geolocated - Deprecate isGettingLocation

Published by no23reason over 8 years ago

New features

  • Removed the isGettingLocation prop as it was misleading
  • The isLoactionEnabled is now optimistically initially set to true

Enhancements

  • Upgraded ESLint to v 3.1.0 -> dropped support for Node.js of versions < 4
react-geolocated - PropTypes

Published by no23reason over 8 years ago

New features

  • Added the propTypes definition
react-geolocated - Remove lodash.merge dependency

Published by no23reason over 8 years ago

Enhancements

  • Removed the lodash.merge dependency, making the package smaller
react-geolocated -

Published by no23reason over 8 years ago

Bugfixes

  • Fixed the import id demo example in README.md
Package Rankings
Top 1.78% on Npmjs.org
Badges
Extracted from project README
npm version semantic-release
Related Projects