What is the best way to hide all components in blueprint?

You should use “Set Visibility” and set the target at the root component.

There you can propagate it to children unlike in “Set Actor Visible in Game”.