- From: S.A.N <notifications@github.com>
- Date: Tue, 02 Apr 2019 10:41:01 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 2 April 2019 10:41:25 UTC
In practice, it is convenient to adhere to the agreement on the naming of custom tags and their accessibility at url address. Then this is one rule for many custom tags, which can be expressed in one loader JS modules ```JavaScript // For many internal components customElements.defineLazy('*', tagName => import(`/modules/${tagName}.js`)); // For many external components customElements.defineLazy('vendor-*', tagName => import(`https://vendor.com/src/${tagName}.js`)); ``` -- 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/782#issuecomment-478941149
Received on Tuesday, 2 April 2019 10:41:25 UTC