Added removal of subcomponents
When a component is destroyed it will destroy all It's subcomponents. This is to prevent memory leak when a subcomponent is bound to another part of the application, such as Router.
When a component is destroyed it will destroy all It's subcomponents. This is to prevent memory leak when a subcomponent is bound to another part of the application, such as Router.