clean up old app code
track attached RootComponents