Preventing phase segregation in mixed-halide perovskites: a perspective