For months, Pres. Donald Trump and his allies have used California as a political punching bag.