3 ms·
So for the angular implementation, the compiler will only include the necessary parts of the framework with the web component. So you’re only including the bits
by tashoecraft 6y ago
So for the angular implementation, the compiler will only include the necessary parts of the framework with the web component. So you’re only including the bits you need for the component to be usable.
There are ways you can coordinate the components and their dependencies to rely on the same versions, but this will probably assume they are your components.
Svelte does something kind of similar where it doesn’t share the same bits between components, but according to the creator it the theoretical point at where it would be more beneficial to have share is so far off to be pointless. So presumably if you have something that efficient you won’t have to worry so much, I think we are a ways away