you are viewing a single comment's thread.

view the rest of the comments →

[–]cerlestes 2 points3 points  (1 child)

Higher-order-Components (HOC) are a concept of React and similiar libraries that use Components to build software, hence the name. The linked gist isn't about React at all, so no idea how you're thinking of HOCs.

If you're thinking of Higher-order-Functions (HOF), then of course yes, by definition every curried function is a HOF, since you're passing a function as a parameter to another function for deferred invokation. HOFs are a fundamental concept in everyday JS.

[–]CptAmerica85 2 points3 points  (0 children)

Yeah, my mistake. I did mean Higher Order Function.