This issue also happened to me once, just last night. But I'm using Redmi 5A. I just did normal things after the "bootlooping until homescreen issue".

I'm so afraid by that time and don't know what to do. What I did is to force shutdown my phone by holding power button for about 5 seconds until it automatically turned off.

After that, my phone booted as normally.

Does anyone know why did that happened?