Unable to add a new component in App & other errors

Hi @Manav, welcome to the forum! :wave:

Are you still having this issue?

First of all, I'm sorry your App is not maintaining its state. It must be frustrating to make changes and them not reflecting on the canvas.

Here is some context on what could be causing this:

Furthermore, if a component is hidden, which is the case if it's on a non-visible tab, any APIs to update its model will not work. If this is what we are experiencing, we should add an event to change the tab, then attach a new event handler to interact with the now visible tab. Here is an example: