Nikhil Dabhade retweeted
If you want to provide API services to React components, HOCs are better than hooks because you can call the unwrapped component directly without the HOC wrapper & test without mocking. You can also more easily reuse the enhanced component just by wrapping with a different HOC.




