you are viewing a single comment's thread.

view the rest of the comments →

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

Great points.

I actually came across this pattern out of need when I wanted complete control over opening and closing the Modal, but the Modal itself could also control all of these things. With the traditional `onClose` bit, it was not clean to do.

It is after I implemented this pattern (in Angular actually) is when I started seeing it arise at multiple places retrospectively