Recently I saw a few examples of passing setter functions into hook dependency arrays in my coworkers\' React code, and it doesn\'t look right to me. For example: