According to the Vue documentation, global registration may not always be the best option. The documentation states:
Global registration is not always ideal. When using a build system like Webpack, globally registering all components can result in unnecessary JavaScript being included in your final build even if you stop using a component.
If my understanding is correct, local registration does not necessarily reduce overall file size unless any unused components are deleted. Even when a component is registered locally, it still ends up in the main JS file (necessary for local use).
This leads to a somewhat tricky situation with local registration - ensuring that you remember to remove global component registration if you no longer need a component. However, forgetting to delete local registration when discarding a component poses a similar issue, making both methods somewhat risky.
The primary purpose of local registration seems to be to restrict a component from being used elsewhere. I'm trying to figure out what potential dangers this restriction could prevent?