As currently written, if you dynamically import the same module more than once, it'll create a new Blob URL and <script module> tag and add it to the DOM each time.
While I understand it doesn't re-download the module, it's still more work than needs to be done. Especially for modules that are frequently import()-ed.
A module map could be used to keep track of already import()-ed modules.
As currently written, if you dynamically import the same module more than once, it'll create a new
BlobURL and<script module>tag and add it to the DOM each time.While I understand it doesn't re-download the module, it's still more work than needs to be done. Especially for modules that are frequently
import()-ed.A module map could be used to keep track of already
import()-ed modules.