refactor(componentLoading): replace for loop with map in loadNewComponents