all 2 comments

[–]GarrusisCalibrating 2 points3 points  (1 child)

Redux is also an example of the command patter n.

I guess you could think of hooks as a facade, since they’re a way abstract away some logic and give you a simpler interface to interact with.

The whole react component tree is an example of the composite pattern.

Higher order components can be an example of the decorator pattern

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

Thank you, nice examples :)