Is it necessary to disconnect the battery when installing new RAM in the early 2011 MacBook Pro? I want to install additional RAM to my early 2011 MacBook Pro.

I originally was only looking at the official Apple guide, but then while searching for a better screwdriver I found the iFixit guide, which tells you to disconnect the battery.

Is this necessary? Apple's guide doesn't mention it.
I just did it without disconnecting the battery and it works fine, so disconnecting the battery is not needed.