angular.io
angular.io copied to clipboard
Missing docs and examples for the Web Workers mode
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
(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.