In recent years, California has seen an exodus in its population given the high cost of living and housing.