devstark-com / vue-google-charts

Reactive Vue.js wrapper for Google Charts lib
446 stars 73 forks source link

Make sure chartsLoaderPromise Load Async #240

Open 1Map opened 6 months ago

1Map commented 6 months ago

Make sure you are loading Google scripts async:

In your chartsLoaderPromise, make sure you are using: script.async = true; // Load asynchronously

As I get a warning:

Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading