~/talk

Polymer + Webpack: Bringing Web Components to a Framework Near You

Talkat Polymer Summit 2017 · 2017-08-22..08-23· [web-platform, developer-experience]
links:none on file
slides:none on file

A concrete solution: the Polymer Webpack loader converts mixed HTML/CSS/JS elements into pure JavaScript modules by rewriting HTML imports to JS imports, turning templates into runtime-registered strings, and piping styles and images through existing Webpack loaders. It enables dynamic import code-splitting, permits node_modules imports, and preserves optimization plugins and dev-server benefits. Caveats: polyfills (custom-elements ES5 adapter, webcomponents loader) require careful ordering. The loader is used in production (AngularJS and TypeScript projects) and includes a demo and Polymer Starter Kit integration.

AI-written summary · about

  1. 0:00Intro
  2. 0:13Why Polymer Webpack
  3. 2:15Polymer as a Library
  4. 3:27Mixed Content
  5. 5:46What is Webpack
  6. 7:04Dependency Graph
  7. 7:51Webpack Loader
  8. 9:14Webpack Plugins
  9. 10:06Code Splitting Lazy Loading
  10. 11:13Dynamic Import Statement
  11. 12:04Polymer Loader
  12. 13:44Importing Node Modules
  13. 14:33Importing Images
  14. 15:52Asynchronous vs Dynamic Imports
  15. 17:21Webpack Configuration
  16. 18:24Loader Configuration
  17. 20:01Module ImportExport
  18. 21:12shimming
  19. 22:54normalize modules
  20. 23:42lock yourself in
  21. 24:30URL vs Module vs Node
  22. 25:44Bootstrapped Polyfills
  23. 26:49CSS Polyfills
  24. 28:05Wrapup
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.