Typically, you migrate a shadow package when multiple models share a common package. Otherwise, you can experience memory issues if every model that references the shadow package must import it. Other benefits to this approach include that you can work with a model at a component level instead of an entire project, and that fewer dependencies exist.
Before you migrate a shadow package to another shadow package, you might want to create a model from the shadow package to isolate the shadow package to migrate to. For more information, see the related topic about creating a model from a shadow package.
To migrate a shadow package to another shadow package: