You are probably trying to do something with newComponent
on the next line and it doesn’t exist yet because you are not waiting for the async function to complete.
You are probably trying to do something with newComponent
on the next line and it doesn’t exist yet because you are not waiting for the async function to complete.