replace
Given two components, replace the old component with the new one and likewise handle registration.
Given an old component ID and new component, replace the old component with the new one and likewise handle registration.
Given two components, replace the old component with the new one and likewise handle registration.
Given an old component ID and new component, replace the old component with the new one and likewise handle registration.