Text this: Recent Advances in Halide Perovskite Resistive Switching Memory Devices: A Transformation from Lead-Based to Lead-Free Perovskites