Releases: ErrorPro/react-google-autocomplete
Releases · ErrorPro/react-google-autocomplete
Fixes useEffect dependency
Remove useEffect deps causing react to remove event listener from google.
Add default import in index.d.ts, changes in the interface
v2.0.2 add default import for typescript (#97)
Fix second script loading issue, update docs
v2.0.1 Fix second script loading issue, update docs, bump 2.0.1 (#95)
Hooks, forwardRef, dynamic props and more.
Some changes:
- Reworked the lib with hooks
- Added a way to pass ref to the underlying input
- Added a way to get access to the google autocomplete
- Changed the API of the component
- Removed unused code
- More examples how to use the lib