- From: Jake Archibald <notifications@github.com>
- Date: Wed, 11 Oct 2017 16:56:25 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 11 October 2017 16:56:47 UTC
@domenic they're static across all threads.
Say you `addModule('foo')`, the browser may create 10 globals for that, but they're all going to import the same static modules.
But if one of those globals calls `import('bar')`, now that single global has different code.
It's kinda the same as:
```js
if (Math.round(Math.random()) {
// change behaviour
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/527#issuecomment-335876163
Received on Wednesday, 11 October 2017 16:56:47 UTC