I have a navigation panel at the top and “main area” in the middle of the page.
I need to replace whatever is in the “main area” with a new component when a navigation element is used.
I’ve tried using “replaceComponent” - this is not an acceptable solution. the repaint is too slow (I’m using a very fast machine!), I can see the bottom half of the component being wiped out before it’s completely replaced. This looks ugly.
You could probably try
this addon . Also you could use
CustomComponent as a container of your main view. Whenever navigation event occurs - you can accordingly set the appropriate views with the following method: