Tutorial for HOC's


(Jigal Sanders) #1

Hello Everyone,

I am trying to understand and build an HOC (Higher Order Component|). But I haven’t found any tutorials that speak to me and explain it clearly.

I was wondering if you guys have any suggestions.

Many Thanks


(Mikayel) #2

I don’t think you can find better then official doc https://reactjs.org/docs/higher-order-components.html


(Jakob Lind) #3

I wrote a Simple explanation of HOCs. I also wrote a post with some example HOCs that should give you some insight on what to use HOCs for: Real world Higher-Order Components