-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
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
Async script load #61
Comments
Did you try it out? What does not work? |
Closing. You can mount the component in the callback. As there may be many more components or things in a project using the Google Maps API, I won’t include loading of the API into this component. |
@oyeanuj Can you explain that a bit? |
@ro-ka I was thinking out aloud but maybe along the lines of the options offered in Option 1 Option 2 Which brings us to.. Option 3 Option 4 In full disclosure, I got it to work using react-async-script-loader but think that it would be cleaner , more consistent and easier for new users, if the library took care of it. |
I’m still voting for Option 4. 😃 Not sure what I would prefer from a users POV… |
Current "no-async" solution is too slow for mobile clients.
It posible to load library "async way" with callback?
The text was updated successfully, but these errors were encountered: