useApiLoadingStatus hooks is used for get current LoadingStatus.
useApiLoadingStatus
In most cases, you won’t need to use it.
function App() { const loadingStatus = useApiLoadingStatus(); return ( <GoogleMapApiLoader apiKey='YOUR_API_KEY' > { loadingStatus === LoadingStatus.SUCCESS && ( // now you can use Google Map API. <MyMap /> ) } </GoogleMapApiLoader> );}