Re: [w3ctag/design-reviews] Multiple import maps (Issue #980)

> Glad to be of assistance. Do you have any thoughts on providing assistance with managing any non-determinism? I missed a step above, but the idea is that if a script performing a dynamic load depends on the presence of a specific import map, how would it guarantee that the map has been seen and integrated?

Given that import maps are loaded synchronously (inline) that doesn't seem hard to manage from a developer perspective, as long as they control both pieces of code. But this is something we can [add in the future](https://github.com/whatwg/html/pull/10528#issuecomment-2394911930) as a function of developer demand.



> It seems like your resolution here would ensure that a missing mapping only gets committed once it is resolved (whether it fails or not)

My intention is to make it so that a failed resolution (missing mapping) doesn't get added to the "resolved module set", so that it can be added in the future. I'll push a commit to that effect shortly.

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

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

Received on Wednesday, 16 October 2024 07:49:04 UTC