Is it better to decouple the component from its respective api interface?
- consider what if the component might use a fraction of the API responses attributes?
- consider what if the same component is used to render data from two different api contracts / domains?
PRO’s
- More reusable, since component states the interface it needs to render (leave it to parent to transform to relevant signature / Dumb component)
CON’s
- More interfaces in codebase
1