Sitemap
1 min readJan 27, 2023

Hi. first of all thanks for your kind words

-It is actually a component id which is same as order reference Id , that is passed from the main screen. For the legal purpose I didn't show proper code but you will get the idea

- For 2nd doubt think of this as a trade off , the benefit you will get is much higher than calling a one end point . Following benefits, you will get

1) No single point of failure

2) There are some case where some view is static which means reponse for that view should only comes one time, for the legacy case due to dynamic component , we are getting the response of static view as well which is not needed (for my solution if component want a fresh data they call their endpoint and others will remain as there)

3) You are embedded all things of that component (business, parsing ,rendering everything) which makes it highly portable

Last Note: Also if your backend is moving to micro service , this structure will be very useful and also calling multiple domain endpoint will not effect much as per our expeirence

Ali Akhtar
Ali Akhtar

Written by Ali Akhtar

Senior iOS Engineer | HungerStation | Delivery Hero

No responses yet