DEV Community

Discussion on: HOCs vs Hooks. What to use and why?

Collapse
mohithgupta profile image
K.Mohith Gupta

What did this line do in the above code? -> " "
And, what's the advantage of hooks over HOC's ?? I don't see ny major differences in the above code. Please let me know....