This question isn't an issue referred to this particular repo. I mean, it's more a general question. Feel free to close this issue if you thinks it's inappropriate.
Suppose you have 2 components: CompA and CompB. These components can be used separately. However, internally, CompA uses CompB. Something like:
This means that when you ship the library, CompA has the code of CompB internally and also the CompB component code is shipped separately. Am I right with this suppositions? In case it's ok, how do you manage to ship the code of component B only once? I mean, like registering all the components globally, so when in CompA uses CompB, it is already registered (and this would also implies smaller bundle size).
This question isn't an issue referred to this particular repo. I mean, it's more a general question. Feel free to close this issue if you thinks it's inappropriate. Suppose you have 2 components: CompA and CompB. These components can be used separately. However, internally, CompA uses CompB. Something like:
This means that when you ship the library, CompA has the code of CompB internally and also the CompB component code is shipped separately. Am I right with this suppositions? In case it's ok, how do you manage to ship the code of component B only once? I mean, like registering all the components globally, so when in CompA uses CompB, it is already registered (and this would also implies smaller bundle size).
Thanks in advance! And BTW, great project!