First of, it depends on the phone and OS you'll be using. Some roms have a root hiding feature by default, while others don't. Then, if you're going to use one that doesn't have one, you'll need to see if it is compatible with Magisk.
I'm using Magisk with stock rom on a Galaxy S5. Because it is a Samsung, I had to enable the core only option in Magisk due to Samsung using KNOX, I believe.
You don't need to select it in Magisk hide, since Magisk passes the SafetyNet test, but you will have to enable it to certain apps or games.
The only problem I have is that sometimes when rebooting the phone it disables core only mode for some reason, and I have to enable it and reboot again. I'm sure there's a fix for this, but I never remember to search for it when I have time.