Never Write Another HOC

· 1 min read

A video from Michael Jackson, creator of react-router library, where he explains the history of High Order Components, and why they should be avoid in the benefit of render props.


In VueJs, Render Props are also called Scoped Slots.


From this time, React team have released Hooks, which allows a complete new way to handle component writing. This video from Kent C. Dodds shows step by step how to refactor components from render prop to hooks:

You can find this page with theses search keywords:

/ hooks / render props / high order components /
Thanks for reading!
I'm Mathieu TUDISCO, a lead developer at Linkvalue .
You can find me anywhere with @mathieutu.
As a start you can follow me on Twitter or want to find out more about me or the blog.