How is a mediator pattern ( in GOF ) different from container / presentational components in reactjs (intent)?

170 Views Asked by At

it looks like they are the same, In mediator we have to explicitly call in other colleagues that some thing has changed, while in presentational / container components the container is re-rendered (may due to some state change) which might be due to an observer pattern. How a mediator and container / presentational components differ in intent is what I am not sure of.

0

There are 0 best solutions below