When I started to use Functional Programming (FP) in my code, I also started thinking in a different way. When something is finished and working, I constantly ask my self, “Could I get the same results, with a more elegant code?”….
Source: https://itnext.io/dont-fear-the-hoc-when-writing-react-5875513ce34e