- React
- ReactFoo
- 2018 Hyderabad
- Demystifying Higher order components and Render Props
Demystifying Higher order components and Render Props
Nitish Phanse at ReactFoo 2018 Hyderabad
Higher order components (HOC) and render props are two advanced react patterns which help in reusability and composition of components. Both of them can easily be interchanged in their respective use cases, but they do have fine lines of distinction. I wish to explain the use cases of HOC and RPs and their respective pros and cons so that you can apply them to your daily code as need be.