Make Enhanced React Components with Higher Order Components - #react lesson by @kentcdoddshttp://bit.ly/2DfKSGJ
-
-
Replying to @eggheadio @kentcdodds
Make sure you watch this great, respectful rebuttable to use of HoCs in favor of RenderProps instead if you do. https://youtu.be/BcVAq3YFiuc HoCs are not as encapsulated and safe as they seem.
1 reply 0 retweets 1 like -
Replying to @robmuh @eggheadio
Yeah! That Egghead video is part of a course and if you keep watching you'll see it has videos explaining those trade-offs and how to use a render prop instead
2 replies 0 retweets 1 like -
-
I am! The video where I show the render prop ends with a side-by-side comparison in which I show why I think a render prop is better 99% of the time
1 reply 0 retweets 2 likes
Ah. I was weirded out by a tweet telling me to learn from @kentcdodds about HOC. But I get the context now :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.