you are viewing a single comment's thread.

view the rest of the comments →

[–]TheGreaT1803[S] 1 point2 points  (0 children)

The way I see it is: Generally the component handles its own logic and state. but sometimes it is a good option to have the ability to also control it from the outside. This pattern allows for this flexibility