5 ms·
Also it depends from API response. It could vary from FE dictating schema or backend making hard orthogonal domain modeling API. In first case FE is productive
by bvrmn 2y ago
Also it depends from API response. It could vary from FE dictating schema or backend making hard orthogonal domain modeling API.
In first case FE is productive there is no need to transform data but makes BE a hot mess. Otherwise FE have to maintain layer of code to convert BE data to presentable UI data. It's harder but allows to decouple UI reqs from changes along all stack.