Skip to main content
Hi,

I have developed an app using lightning components. I have 5 apex server calls in the init function of its JS controller.

But some time my app is not loading fine. Some time it is loading correctly. I have given the '$A.enqueueAction' of all server calls at last part after all server calls in the init fnction. Is there any order in giving the '$A.enqueueAction' of each server calls if there are multiple APEX server calls in single function?

Thankyou
4 risposte
  1. 3 apr 2019, 11:12
    Hi Aabhi,

    Can we handle the above multiple server side calls in Client side JS controller it self or can we also create differemt helper to make different server side calls?

    Which is the best way according to the performance as suggested by salesforce.

    Regards,

    Vijay.