Infinitesimal calculus was discarded in late 19th century pedagogy in favor of limits as no rigorous proofs yet existed of its general correctness, whereas such proofs had been formulated for the limits version. It was suspected that while infinitesimals were a nice intuition, they lacked rigor which might lead to unknown errors.
It was eventually rigorously proven in the 1960s that the infinitesimals approach is indeed as complete and correct as the limits version, but by then standard pedagogy had become entrenched in limits.
More on this at https://en.wikipedia.org/wiki/Elementary_Calculus:_An_Infini... , the modern textbook that re-introduced infinitesimals.