4 ms·
If we use third party library code in multiple stencils. Will they be included separately in each one of them. Let's say d3 for graphics?
by vijaybritto 9y ago
If we use third party library code in multiple stencils. Will they be included separately in each one of them. Let's say d3 for graphics?
- yesimahuman 9y agoYes right this second, but next on our list is providing a seamless solution to dependency dedupe. Not yet ready but it's promising.
- vijaybritto 9y agoOkay, that is definitely needed if we want to build serious components. Else it's gonna go crazy heavy!
- danbucholtz 9y agoA simple solution today would be to put the shared, heavy code in it's own component and call methods directly on that component. That's how we're share code across components in Ionic.
- ospatil 9y agoCould you please add an example of this in the documentation? It looks great BTW.