[PATCH RFC v2 8/8] component: track components via array rather than list