Re: [w3c/webcomponents] Isolate WebComponent JS libraries (#751)

@mmikirtumov 

I don't think we are on the same page when I say web component. When I say web component, it means it is defined using `customElements` api of the browser. If component was developed using different frameworks such as angular or react, you only use those components specifically for that framework only. In essence, you don't mix an Angular component in a React framework and vice-versa. However, you can use a custom web component in any of the frameworks. Now if at one point a web component uses, let's say lodash, while you use underscore, you can "compile" that web component (either via rollup) and then use the compiled version of that component. At least it will only use lodash in that web component, isolating it from your bigger application that might use underscore

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/751#issuecomment-400262148

Received on Tuesday, 26 June 2018 10:38:09 UTC