Some form of a ban on noncompete enforcement in CA has existed since then.
It has long been codified in CA business code 16600, https://leginfo.legislature.ca.gov/faces/codes_displaySectio...
I'm against non-competes except in narrow cases. But a lot of people probably give the general inability to enforce non-competes in California too much credit for CA tech success in spite of one story in particular.