If a child under 2 dies, you'll often see reuse of that name for the next child. There were cultural standards, particularly in Europe, around naming children after paternal and maternal grandparents and so forth (such that often you can tell what number a child was by their name if you know the relative's names).
Think about that for a second. Let's say you had a child who died at 6 months old. 1-2 years down the track you had another child and you'd use the same name.
We have totally different expectations of mortality than a century ago. A child born today in the developed world is incredibly likely to make it to adulthood. It's simply not conceivable than in an era of greater infant mortality that there weren't different attitudes to the death of a child.