react-places-autocomplete
react-places-autocomplete copied to clipboard
Best Practice for API Key
Do you want to request a feature or report a bug? feature
What is the current behavior? api key goes in script tag
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. not a bug
What is the expected behavior? works fine
Which versions of ReactPlacesAutocomplete, and which browser / OS are affected by this issue? latest version
I'm wondering what a good practice is for using an api_key, I'm guessing its not okay to just include it in the script tag of the website as it could be taken easily. I could make the requests from my server instead, but it seems that this library requires the google api key directly via the script. I must be not understanding the standard approach here?