How do you deal with the chaos of the root component?

@Everynone @baobao4435
Thank you very much guys. I used both of your variant and now everything works fine for me.