My DGD is 2. I look after her (on my own) a couple of days a week, have been doing so for well over a year so the situation is not new.
Anyway, she is having the most epic tantrums if she is compelled to do something that she doesn't want to do. She can scream and thrash for up to an hour in incoherent and impotent fury, refusing any sort of touch or comfort, once really in that zone. It must be horrible for her but it ain't nice for me (or the neighbours!) either!
I pick my battles, but some things (eg sitting in car seat with belt on safely; parents going off to work; conversely, parents picking her up and her not wanting to go with them but stay with me instead(!) are non-negotiable.
I used to look after her big brother before he started school, but he and my DD were both much calmer children so I'm not used to this level of dysregulation although I know the "terrible twos" are called that for a reason!
So currently my policy is basically to let her howl it out whilst keeping an eye on her to keep her safe, and letting her know that I'm there for a cuddle once she feels she wants one (she usually wants a hiccupy cuddle as she calms down). I don't press the issue that's caused the tantrum unless it's unavoidable, as above. Distraction hasn't really worked so far. Her mum doesn't have any other ideas but I think is rather worn down by this!
Would anyone suggest anything else? Despite having my own child and an older DGC this is new territory for me!