On Load API calls?
I have a page , and On Load I want to set a bunch of things from an api call to variables . I do this several times to account for several different variables to set . My question is : Is this API call happening several times on load , one for each variable set ? If so , what is the better way to do this ? If you ’re doing server -side fetching , set the variants on the success event of the api call instead