I’ve read that is recommended, but I didn’t do it. It doesn’t make sense to me, presumably if one has worn the sprockets to the point of changing them, then surely the chain ring needs replacing too.
I’ve changed many chains on bikes over the years, never replaced a sprocket yet. ( except once when I upgraded a whole group set).
Anyway, I’ll see how it goes, if the chain starts to slip I’ll change the sprockets.
I had no choice on my 2011 Brompton, the rear sprocket spacing didn’t match the replacement 3/32” 8 speed chain I fitted. The 3/32" sprocket was introduced in 2012, mine was still fitted with the original 1/8" sprocket which is no longer available.