California is a “one party state” because Gov Pete Wilson and the CA GOP went after the racist vote in the mid 90’s to get re-elected by heavily supporting Prop 187, which denied all state services to undocumented immigrants. Until then, it was relatively conservative.
Turns out that (thankfully) there aren’t enough racists for keep control of the state government, and since then the CA GOP has become basically irrelevant.