I'm studying a set of lecture notes on complex numbers, which derive the fact that $\sqrt{i} = \pm \frac{1 + i}{\sqrt{2}}$. I'm fine with this result, but they then comment that, knowing this fact, we can deduce that $\sqrt{2i} = \pm (1 + i)$.
I'm very confused by this, because it is my understanding that the usual properties of square roots, such as $\sqrt{ab} = \sqrt{a} \sqrt{b}$ do not necessarily hold for complex numbers. They give an example where attempting to use such properties leads to the absurd conclusion that $i^2 = 1$.
Is there some other way to deduce this fact, or is this one of the rare cases where the square root function works as it does in $\mathbb{R}$?