[w3ctag/design-reviews] Dynamic import maps (Issue #980)

こんにちは TAG-さん!

I'm requesting a TAG review of Dynamic import maps.

Import maps currently have to load before any ES module and there can only be a single import map per document. That makes them fragile and potentially slow to use in real-life scenarios: Any module that loads before them breaks the entire app, and in apps with many modules the become a large blocking resource, as the entire map for all possible modules needs to load first.

This proposal is to enable multiple import maps per document, by merging them in a consistent and deterministic way.

  - Explainer¹ (minimally containing user needs and example code): [url](https://github.com/whatwg/html/pull/10528#issue-2437162429)
  - Specification URL: [spec url](https://github.com/whatwg/html/pull/10528)
  - Tests: Not yet
  - User research: N/A
  - Security and Privacy self-review²: [url](https://docs.google.com/document/d/1Aq8qk0Teb-Ow0XEEXIdss_ZA2sYkJpC-53YvC8GAxwk/edit?usp=sharing)
  - GitHub repo: [url](https://github.com/whatwg/html)
  - Primary contacts (and their relationship to the specification):
      - Yoav Weiss (@yoavweiss), Shopify
  - Organization(s)/project(s) driving the specification: Shopify
  - Key pieces of existing multi-stakeholder (e.g. developers, implementers, civil society) support, review or discussion of this specification
  - Key pieces of multi-implementer support:
    - Chromium comments: I'm planning to implement in Chromium. No intent sent yet.
    - Mozilla comments: https://github.com/mozilla/standards-positions/issues/1058
    - WebKit comments: https://github.com/WebKit/standards-positions/issues/381
    - etc...
  - External status/issue trackers for this specification (publicly visible, e.g. Chrome Status):

Further details:

  - [x] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
  - Relevant time constraints or deadlines: Hoping to ship by EoY
  - The group where the work on this specification is currently being done: HTML
  - The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): HTML
  - Major unresolved issues with or opposition to this specification: None AFAIK
  - This work is being funded by: Shopify





-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/980
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/980@github.com>

Received on Friday, 9 August 2024 09:50:56 UTC