When keeping references to view functions as vars (for hot reload reasons) hsx detects them as HOC and prints a warning. Since the warning talks about anonymous functions I was pretty confused what it could be referring to.