I am well aware of the philosophical downsides of global components and we’ve been registering them locally as a rule on our team, no exceptions. But since we use a pattern library, the most common ones (e.g. buttons) are manually imported and registered all over our app.
I was thinking of globally registering the most popular ones (imported > 10 times) to cut down on the amount of boilerplate. Let’s assume we’re aware of the negative implications on readability (harder to understand where things come from etc.) this has. Are there any technical downsides (e.g. serious performance penalties) we should look out for?