I passed through this answer here and I don't understand the following. We are at the moment:
If $u^2+v^2 \neq 0$, then $\dfrac{\partial v}{\partial y}=0$ which also gives us $\dfrac{\partial v}{\partial x}=0$. Now by Cauchy-Riemann, we also get that $\dfrac{\partial u}{\partial x}=\dfrac{\partial u}{\partial y}=0$. Hence, $f'(z) = 0$ which gives us that $f$ is constant.
Why we get "$\dfrac{\partial v}{\partial y}=0$ which also gives us $\dfrac{\partial v}{\partial x}=0$? I don't see this...