Honestly, the quality, care and expertise of the dentist is key.
The type of filling material is secondary, especially on baby teeth as they will be lost and replaced by permanent teeth. I use tooth colored bonded fillings almost always. It requires slightly more patient cooperation to place. For most dentists nowadays, bonded composite fillings are the standard of care for permanent teeth.