It's good that they're protecting the weakest class of workers, and those who need this protection the most. Enforcing non-competes against sandwich makers in fast-food chains was probably the most egregious abuse of non-competes ever committed, and a blatant attempt to keep down wages for jobs that already pay barely livable wage.
But these are not the classes of workers who made California's economy boom. It's too bad lawmakers prioritize their short-term funding needs and donors over long-term welfare of their state and its economy.