Do not generate unused components contents in `app:update` task
#29645

y-yagi wants to merge y-yagi:check_component_when_run_app_update into rails:master

We do not currently have an analysis of these two commits