Demo 1

Selecting a file several times

Each click calls import(), like the code that calls loadDialogModule() every time a file is selected.

0import() calls
0network requests
0module evaluations
0distinct instances
  1. No import() calls yet.

Demo 2

What if the first load fails?

Importing a module that doesn't exist twice shows whether this browser goes back to the network on the second attempt or reuses the failure.

  1. No attempts yet. It takes two to compare.