Guy Bedford (2014-09-28T15:45:24.000Z)
domenic at domenicdenicola.com (2014-09-30T16:52:03.244Z)
On 28 September 2014 07:01, John Lenz <concavelenz at gmail.com> wrote: > I would like to see some way to preload everything, and be able to > retrieve them synchronously, something like: > > System.loader.addNoAsync('...'); // throw if all imports aren't > available already > > So that the script could be used during initial render. I understand that > this would mean that the module would need to be parsed and executed > synchronously. Forcing folks to never use any module for code that needs to > be inline seems like a bad turn. > I'm not sure what rendering behaviour is planned for <script type="module">, but I hope there would be a way to indicate when it should and shouldn't block rendering of the HTML page / HTML import. In terms of preloading, there are complete ways to do this through custom extensions.