Imagine having a form used to modify customer information. This form includes various input fields as well as multiple dropdown lists for fields such as country, category, and status. Each dropdown list requires data from the backend in order to populate it. When using this form to edit a customer, you would need to retrieve:
- The Customer Object being edited
- A list of countries
- A list of categories
- A list of different status types
- ...
My question is: Should each of these elements be loaded separately with their own backend API call, or should there be a single API call that combines all the necessary data into one object for loading?