angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

Missing docs and examples for the Web Workers mode

Open willgm opened this issue 8 years ago • 1 comments

Is it ready to use? I wasn't able to find any docs nor examples of it.

This is the only clue I found, but it's not enough to start something from scratch: https://angular.io/docs/ts/latest/api/#!?query=worker

There are also a lot of open questions on Stack Overflow about it.

Related angular/angular#13954

willgm avatar Feb 01 '17 20:02 willgm

(I think) I got an example of bootstrapping an app using Web Workers working using SystemJS in this plunk:

https://plnkr.co/edit/aLSb2y?p=preview

In this environment, it loads slower than the standard in-browser bootstrap because it has to re-fetch all of the dependencies in the worker environment; I imagine if everything was bundled, it would work a lot faster.

spongessuck avatar Feb 08 '17 22:02 spongessuck