Render props are easier to reason by than HOCs. I always find it quite a work to explain everyone what I am doing with my HOCs. And the state flow is a lot more explicit. Compatibility with Typescript is an added bonus.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Render props are easier to reason by than HOCs. I always find it quite a work to explain everyone what I am doing with my HOCs. And the state flow is a lot more explicit. Compatibility with Typescript is an added bonus.