You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (angular#38846)
Remove @angular/platform-webworker and @angular/platform-webworker-dynamic
as they were deprecated in v8
BREAKING CHANGE: @angular/platform-webworker and @angular/platform-webworker-dynamic
have been removed as they were deprecated in v8
PR Closeangular#38846
|[All entry points](api/platform-webworker-dynamic)| none | v8 | See [platform-webworker](#webworker-apps). |
139
-
140
125
{@a upgrade}
141
126
### @angular/upgrade
142
127
@@ -391,28 +376,6 @@ These two properties have subtle differences, so switching to `textContent` unde
391
376
392
377
All of the `wtf*` APIs are deprecated and will be removed in a future version.
393
378
394
-
{@a webworker-apps}
395
-
### Running Angular applications in platform-webworker
396
-
397
-
The `@angular/platform-*` packages enable Angular to be run in different contexts. For examples,
398
-
`@angular/platform-server` enables Angular to be run on the server, and `@angular/platform-browser`
399
-
enables Angular to be run in a web browser.
400
-
401
-
`@angular/platform-webworker` was introduced in Angular version 2 as an experiment in leveraging
402
-
Angular's rendering architecture to run an entire web application in a
403
-
[web worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). We've learned a lot
404
-
from this experiment and have come to the conclusion that running the entire application in a web
405
-
worker is not the best strategy for most applications.
406
-
407
-
Going forward, we will focus our efforts related to web workers around their primary use case of
408
-
offloading CPU-intensive, non-critical work needed for initial rendering (such as in-memory search
409
-
and image processing). Learn more in the
410
-
[guide to Using Web Workers with the Angular CLI](guide/web-worker).
411
-
412
-
As of Angular version 8, all `platform-webworker` APIs are deprecated.
413
-
This includes both packages: `@angular/platform-webworker` and
414
-
`@angular/platform-webworker-dynamic`.
415
-
416
379
{@a entryComponents}
417
380
### `entryComponents` and `ANALYZE_FOR_ENTRY_COMPONENTS` no longer required
418
381
Previously, the `entryComponents` array in the `NgModule` definition was used to tell the compiler which components would be created and inserted dynamically. With Ivy, this isn't a requirement anymore and the `entryComponents` array can be removed from existing module declarations. The same applies to the `ANALYZE_FOR_ENTRY_COMPONENTS` injection token.
0 commit comments