My little guy gets really frustrated when he's feeling like he's not heard (or getting what he wants) - especially when I can't understand what he's saying or asking for.
We've also found giving choices for pretty much everything helps too. Which shirt a or b, apple or orange, milk or water, whatever. Doesn't always work & obv can't always do it, but it sometimes avoids me picking Voldemort and triggering a world shattering event.
Another thing I try is to repeat what he's trying to say through the tears or yelling. Usually he'll calm down a little when he hears me vocalize what he's frustrated about. It doesnt snap him out of it but I find i can get him to walk a little further from the tantrum edge and eventually calm back down.
Also. Food. Lol. Always, always, always make sure they're not hungry. Easiest way to fuel a meltdown in my house is to have a late snack time or something. Sometimes a meltdown happens and I'll ask - are you hungry or do you want an apple sauce and I get a nod and it all makes more sense.... Lol. Like I said, idk if it's universal but it has worked for us :)
Edits: added choices bit & wording