Again, the state equalizes. After the 2013 funding reforms, the state gives districts gives districts with high-need students more money to make up for local funding shortfalls. The statistics I've seen (e.g.
https://www.ppic.org/publication/financing-californias-publi...) indicate that this more than closes the gap.