I am currently reviewing theorems I already learned in complex analysis and looking at
Holomorphic function with zero derivative is constant on an open connected set
I asked myself wether it is necessary that $f'(x)=0 \forall x \in G$ for $f:G\to \mathbb{C}$ and $G$ being a domain to get that $f$ is constant or wether a single point in the domain could be sufficient. If so, how to show that?
How is this related to the maximum principle? When I think about real analysis, $f'(a)=0$ implies that there is an extremum in $a$ but it seems this is not the case in complex analysis, at least I have not found anything but the maximum principle regarding this issue.