I prefer to deprime before resizing, but not for the same reasons most others cite.
In the past, I used to be a brass hound at nearby shooting spots. I'd be the guy out there Monday morning picking up whatever was left laying around after the weekend. Sometimes I'd encounter a new spot I hadn't combed through before, and I'd find brass that had been out in the weather for a few weeks or months (maybe years) that had turned a dark gray to nearly black.
Before wet stainless steel pin tumbling became a thing for cleaning brass like this, I discovered Iosso Case Prep chemical wash. You dump the range-blackened brass into this low-acidic mix and watch the tarnish nearly instantly vanish.
However, brass tarnished this badly had essentially corroded away a micro layer of zinc. (Brass is essentially a copper and zinc alloy, with zinc being the sacrificial anode to electrolysis.) And so while the brass is no longer black, neither is it yellow, and has turned to pinkish matte color, revealing the copper where the zinc has corroded away.
This pink brass is perfectly fine to reload. The micro layer of zinc that is gone has not been deep enough to affect structural integrity. And after resizing and tumbling in walnut media (for longer than most brass), most of the pinkish color has been polished down enough to reveal more zinc and return the brass to a yellow color.
But the Iosso case cleaner is acidic, as I stated previously. After dunking and swirling the dark brass in the solution, and then removed, it now has to be rinsed with water to get rid of the remnant acid. If not,...then you end up having a different corrosion problem. And this is why you do not want to dunk the brass in there with primers still in the pockets. It will trap the solution in the pocket and you will have a devil of a time getting it all washed out or properly diluted.
Fortunately, in the summer like now, just set the brass outside on a towel after rinsing and it will all be dry in 30 minutes or so. Then you can resume processing by resizing or dumping them into a tumbler. I find that sizing them first smoothes out the matte rough texture the solution gives the pink brass and actually makes for a shinier and more yellow color after finally tumbling them.