Why does the custom component start rendering after the built-in component of streamlit is rendered?

Custom components are different from built-in components when rendering, and they always start after the built-in components are rendered, instead of being rendered as built-in components.

What is the reason for this difference? Can it be solved?

It is hoped that there will be no difference in rendering between custom components and built-in components, which can improve the overall experience.