3 ms·
> Your business logic has now moved from being haphazardly split between frontend and backend into just backend. This. I have spent countless hours pulling my
by vishnugupta 5y ago
> Your business logic has now moved from being haphazardly split between frontend and backend into just backend.
This. I have spent countless hours pulling my hair trying to understand backend business logic only to see part of being implemented in the front end.
What's more, the supposed generic backend API makes quite a lot of assumptions about the front end orchestration, so the API can be used only in conjunction with the front end it is serving.
Now not only is your backend API not reusable but also the business logic is brain split between the front end and backend.