We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gstatic.com is extremely slow from mainland China, using gstatic.cn is way much faster you can compare the speed using https://www.dotcom-tools.com/china-firewall-test https://www.gstatic.cn/charts/loader.js => less than 1 second https://www.gstatic.com/charts/loader.js => at least 50 seconds
on line https://github.com/rakannimer/react-google-charts/blob/master/src/hooks/useLoadGoogleCharts.ts#L31 provide option to developer to choose either get loader.js from
loader.js
https://www.gstatic.com/charts/loader.js
or
https://www.gstatic.cn/charts/loader.js
No response
The text was updated successfully, but these errors were encountered:
c11c31c
Hey @51yu,
Thank you for the suggestion, I added support for changing the URL for this loader:
chartLoaderScriptUrl
You can try it out in 5.1.0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Would you like to work on this feature?
What problem are you trying to solve?
gstatic.com is extremely slow from mainland China, using gstatic.cn is way much faster
you can compare the speed using https://www.dotcom-tools.com/china-firewall-test
https://www.gstatic.cn/charts/loader.js => less than 1 second
https://www.gstatic.com/charts/loader.js => at least 50 seconds
Describe the solution you'd like
on line https://github.com/rakannimer/react-google-charts/blob/master/src/hooks/useLoadGoogleCharts.ts#L31
provide option to developer to choose either get
loader.js
fromor
Describe alternatives you've considered
No response
Documentation, Adoption, Migration Strategy
No response
The text was updated successfully, but these errors were encountered: