Sasha Firsov

Results 91 comments of Sasha Firsov

Will UMD provide any additional value if the embed-page code will be in ES6 ? 1. WebPack makes any module format acceptable. Giving ability to use embed-page in any format....

Apparently ES6 module needs `` which sets the strict mode, which is interfering with a `with` operator used in current code for scope insulation. For enabling `embed-page` in page the...

Apparently Polymer.Element gives quite a bit of features to keep it as dependency. Properties definition and binding in particular. Keeping `EmbedPage0` directly inherited from `HTMLElement` around till decoupling from Polymer.

# Eat your own dog food. - **Menu** with demo pages links is a perfect sample of JS-less content as client-side include. It would need implementation of `scope="none"` to prevent...

The content of `` is html text taken either from url, html attribute, or inline template. Implementation makes this html text treated as web component including features like css `:host`...

# Loading state API ## Considered options 1. State via class “initial” vs “loading” vs “loaded” – no events, could be checked via unusual string parsing ( i.e. fr.className.split(‘ ‘).includes(‘loaded’)...

Css `contain` released by FF and Chrome, it is good rendering optimisation flag which could have some use in embed-page. While it defies the purpose of EPA to be customizable...

** use** As container web component, `embed-page` gives ability to define and re-set content. Via: - `src` attribute - `html` attribute - embedded content - innerHTML `` itself would act...

### fix node_modules/wct-browser-legacy/browser.js lodash produces `Uncaught ReferenceError: module is not defined` Solution: Replace 'lodash/index.js' with 'lodash/lodash.js'. https://github.com/Polymer/tools/issues/3237 With current polymer-cli the error seems gone.

**CDN for es6 modules** I have tried how to make base framework served from common URL( not even a CDN but from same server) using ES6 imports. So far have...