react-geolocated

React hook for using Geolocation API

MIT License

Downloads
58.8K
Stars
296
Committers
12

Bot releases are visible (Hide)

react-geolocated - v2.1.0

Published by no23reason about 7 years ago

2.1.0 (2017-10-13)

Features

  • add support for React 16 (ed6ba48)
react-geolocated - v2.0.0

Published by no23reason over 7 years ago

<a name"2.0.0">

2.0.0 (2017-07-03)

Bug Fixes

  • typings: hide injected props from the HOC result (824ccc0c)

Breaking Changes

  • Injected props are no longer available for setting in the resulting components

#113

(824ccc0c)

react-geolocated - v1.0.3

Published by no23reason over 7 years ago

<a name"1.0.3">

1.0.3 (2017-04-13)

Bug Fixes

  • prop-types: fix dependency declaration according to prop-types docs (7e26330d)
react-geolocated - v1.0.2

Published by no23reason over 7 years ago

<a name"1.0.2">

1.0.2 (2017-04-10)

Bug Fixes

  • PropTypes: fix PropTypes deprecation warning (74c5562a)
react-geolocated - v1.0.1

Published by no23reason almost 8 years ago

<a name"1.0.1">

1.0.1 (2016-12-07)

Bug Fixes

  • typings: add support for functional stateless components to typings (7d3aa508)
react-geolocated - v1.0.0

Published by no23reason almost 8 years ago

<a name"1.0.0">

1.0.0 (2016-11-20)

Bug Fixes

  • simplify package.json, deprecate dist (68f6298e)
  • remove unnecessary files from distributed package (15279267)

Breaking Changes

  • No longer generates dist folder

    (68f6298e)

react-geolocated - Documentation and semantic-release

Published by no23reason almost 8 years ago

Enhancements

  • Improved the demo and its build process
  • Documented TypeScript definitions
  • Moved to semantic-release, added commitizen support
react-geolocated - Props passing

Published by no23reason about 8 years ago

Bugfixes

  • Pass props to child component properly (shout out to @RishabhJain96 for pointing this out)

Enhancements

  • Migrated tests to jest
  • Added code coverage reporting via codecov
  • Added tests for the TypeScript typings
react-geolocated - Type definitions fix

Published by no23reason about 8 years ago

Bugifixes

  • Made the props in TypeScript optional
  • Added npm-debug.log to .gitignore
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 about 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