Comment Comment by frosted-flakes That's not the only problem with your approach. It is extremely common to use the output of one hook in the input of another, and that's only possible if the hooks exist in the function body. parent frosted-flakes 6 years ago