tomayac’s avatartomayac’s Twitter Archive—№ 18,917

  1. …in reply to @fabiospampinato
    @fabiospampinato @electronjs You can use DOMPurify by default (but lazy-loaded), and the new built-in API as a progressive enhancement. I’m a big fan of this pattern. js if (!('api' in Foo)) { await import('./api.js'); // … }