Skip to content

[tools] Dynamic imports to load web component #409

@starryeyez024

Description

@starryeyez024

Requested results:

  • Baseline testing (lighthouse)
  • Blog post of recommended approaches of how to load WCs on your site (SPA vs. CMS, etc)

Resources:

  • btopro video on dynamic imports
  • dimport, is an ESModule polyfill allowing you to run import, export, and import() in any browser – even IE.
  • It offers 3 modes, with varying backwards reach. They vary in size from 675B to 1.14 kB

GitHub: https://github.com/lukeed/dimport
Demo: https://dimport.now.sh

Metadata

Metadata

Assignees

Labels

size: mdSizing label; indicates a moderate difficulty level or amount of worktoolsDevelopment and build tools

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions