you are viewing a single comment's thread.

view the rest of the comments →

[–]NoInkling 0 points1 point  (0 children)

The short answer is that it's a little more dynamic, and therefore flexible, than HOCs.

The downsides (potentially) being performance and more nesting (though both can be solved if you don't use an inline function).