Hacker News new | ask | show | jobs
by brianvaughn 2999 days ago
HOCs are widely used (and for good reason– they can be very useful). Hopefully forwardRef will make their usage more consistent and predictable.

If anything, I think the new context API (and even forwardRef itself) are endorsements of the render prop pattern more than of HOCs. :)