My opinion on this is to ensure your pet is neat and properly taken care of all the time, once you can get that done, I don't think there should be a reason to deprive your little one of growing with a pet.
However, caution against attacks should not be taken for granted. Regards ti your baby and pet.