Re:Stencil – A reusable web component generator
by vijaybritto on Wednesday August 23, 2017 @08:45AM
(#15081024)
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?
[ Parent
| on HN ]
Re:Stencil – A reusable web component generator
by yesimahuman on Wednesday August 23, 2017 @08:58AM
(#15081123)
Yes right this second, but next on our list is providing a seamless solution to dependency dedupe. Not yet ready but it's promising.
Re:Stencil – A reusable web component generator
by vijaybritto on Wednesday August 23, 2017 @10:55AM
(#15081949)
Okay, that is definitely needed if we want to build serious components. Else it's gonna go crazy heavy!
Re:Stencil – A reusable web component generator
by danbucholtz on Wednesday August 23, 2017 @01:10PM
(#15083241)
A 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.