Sep 8, 2018 · 1 min read
When to use HoC and when to use render props, it depends on the requirement and situations. I was just trying to highlight the problems with HoC. So that we can take care while using it.
When to use HoC and when to use render props, it depends on the requirement and situations. I was just trying to highlight the problems with HoC. So that we can take care while using it.