When you are planning a trip with your baby, as much as possible, opt for a non-stop flight. This is often preferred so that your baby does not have to deal with lots of ear-popping noise, as young children can often have a hard time coping up with pressure changes. Aside from that, non-stop flights can also help lessen the hassle of having to lug everything and everyone into the next connecting flight.
On the other hand, opting for a connecting flight can sometimes be preferable, depending on your baby's temperament and the length of the flight. If you are bound to a far destination, a connecting flight with at least an hour of layover can help you ready your baby for the next flight. Also, when travelling with your baby, make sure not to choose peak times for the flight to avoid having to deal with lots of passengers at the airport. If you want to avoid any delays, you may choose to book for the first flight of the day.