It's one of the biggest problems in fronted development right now and it's something conceivably can be addressed by the... well, let's call it "guiding structural paradigm" for the lack of a less pretentious term.
Fixes need to happen in the broader npm ecosystem, not the standard for creating reusable components.