I have 5 api calls in a page. some apis take 20 sec to give response. some take 30 sec to give response. some take 10 sec so, when first api gives its response, first api sets l
You can simply use a variable(s) to store API results then load the content based on it's existance:
... Loading...