Öner Zafer
Best way of doing it! According to me 😄
It can be summarized as separating the data operations from UI operations.
It requires at least 2 components. One is the responsible component for the service calls and the other one is responsible for rendering the HTML
aka smart & dump component
COOL!
Let's try to implement a simple list of video items which has an image and a title and a link to be opened on button clicked.
Something like this
We need to implement
and maybe
Separation of concerns
Reusability
Composability
Maintainability
Easy to test
Let's make it better
Let's discuss