When I review Hatcher's proof on the fact $$\pi_{n}(\prod X_{\alpha})=\prod_{\alpha}\pi_{n}(X_{\alpha})$$I found I cannot really follow. He wrote "A map $f:Y\rightarrow \prod X_{\alpha}$ is the same thing as a collection of maps $f_{\alpha}:Y\rightarrow X_{\alpha}$. Taking $Y$ to be $\mathbb{S}^{n}$ and $\mathbb{S}^{n}\times I$ gives the result. "
I am confused because the result is intuitive and (probably) trivial, but I do not see how his first line and second line connected together. Presumably the second line means something induced from the earlier proposition on covering maps, but still I do not see how to use this to prove the above statement.