Found this while running Forget on the React tests. This isn't a high priority because the ESLint plugin would've caught this. But it'd be nice if either our validation rules caught this or if our compiler did correctly eliminate the dep array.