Suppose there is a MainView view. In it (in the initialization function) a child view is created, a valid listView. When switching to another url via a router, a function is called in the router to close the current view and create a new one in its place.
How can I close a child View if it can be dynamic or not known at all for logic
MainViewtry to override theremovemethod inMainView? - Dmitriy Simushev