Mean-field limits beyond ordinary differential equations