Child component rendering issue

Hi All,

I have a parent component with API mounted to it and have 5 child components. I have props in all the five child components to get data from the parent as well child component has API mounted to it.
Here the issue which I am facing is in child component when I pass the prop variable as a parameter for the mounted API. The variable passing undefined. May be because all the child components are mounting before the parent load. Can anyone help me or guide me to resolve this issue?

I’m not sure what you mean, can you show us the relevant code parts?