Poop goes in the potty! If the baby is exclusively breastfed, then you don’t have to do anything to the diaper before it goes in the diaper pail and then into the washing machine. Breastmilk poop has very little bacteria in it, and it is 100% water-soluble.
After that stage is over, I’m going to buy a diaper sprayer and attach it to the water line on my toilet. I can quickly spray the diaper off into the toilet and then put it in the diaper pail until it’s time to wash. I don’t have to touch any poop, and I can limit how much of it ever touches my washing machine.