High order Components let you wrap any component in a new component. This lets you share functionality between different components in your app.
In this video we build a simple clickLogger to show how it works in principle.
Code on GitHub π
https://github.com/Swizec/learn-while-you-poop-react