Depends on the steel and likely-hood of warping. I've had issues with AEB-L warping in heat treat so if I'm doing something thin I'll grind all after HT. For mid-sized stock I'll do some before, most after. For D2 I've never had a warping problem so I'll do 80-90% of my grinding before HT.
I have noticed that my bevels come out cleaner when grinding hard steel, probably because when (not if) I make a mistake it is not nearly as deep.