The early introduction of solids does not help your baby sleep through the night. Dropping the night feed is more likely a developmental milestone and has little to do with feeding.
The WHO recommends exclusive breastfeeding from birth to six months, with the introduction of complementary foods and continued breastfeeding thereafter.