use-places-autocomplete
Advanced tools
Comparing version 1.8.0 to 1.8.1
{ | ||
"name": "use-places-autocomplete", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "React hook for Google Maps Places Autocomplete.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -36,3 +36,3 @@ # <em><b>USE-PLACES-AUTOCOMPLETE</b></em> | ||
- β¨οΈ Builds a UX-rich component (e.g. [WAI-ARIA compliant](https://rawgit.com/w3c/aria-practices/master/aria-practices-DeletedSectionsArchive.html#autocomplete) and keyword support) via comprehensive [demo code](https://github.com/wellyshen/use-places-autocomplete/blob/master/demo/App/index.tsx). | ||
- π¦ Tiny size ([~ 1.5KB gzipped](https://bundlephobia.com/result?p=use-places-autocomplete)). No external dependencies, aside for the `react`. | ||
- π¦ Tiny size ([~ 1.6KB gzipped](https://bundlephobia.com/result?p=use-places-autocomplete)). No external dependencies, aside for the `react`. | ||
@@ -177,2 +177,4 @@ ## Requirement | ||
[![Edit usePlacesAutocomplete x Reach UI](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/useplacesautocomplete-x-reach-ui-lik2c?fontsize=14&hidenavigation=1&theme=dark) | ||
```js | ||
@@ -222,6 +224,4 @@ import usePlacesAutocomplete from "use-places-autocomplete"; | ||
[![Edit usePlacesAutocomplete x Reach UI](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/useplacesautocomplete-x-reach-ui-lik2c?fontsize=14&hidenavigation=1&theme=dark) | ||
## Cache Data For You | ||
### Cache data for you | ||
By default, this library caches the response data to help you saving the [cost of Google Maps Places API](https://developers.google.com/maps/billing/gmp-billing#ac-per-request) and optimize the search performance as well. | ||
@@ -236,3 +236,3 @@ | ||
> The cached data is stored via the [Window.sessionStorage API](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage). | ||
> By the way, the cached data is stored via the [Window.sessionStorage API](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage). | ||
@@ -239,0 +239,0 @@ ## API |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43302