angular/packages/platform-browser
Alan Agius c340d6e044 feat(platform-browser): enable removal of styles on component destroy by default (#51571)
This change aligns the settings between G3 and P3 as `REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT` is already set to `true` internally.

BREAKING CHANGE: `REMOVE_STYLES_ON_COMPONENT_DESTROY` default value is now `true`. This causes CSS of components to be removed from the DOM when destroyed. You retain the previous behaviour by providing the `REMOVE_STYLES_ON_COMPONENT_DESTROY` injection token.

```ts
import {REMOVE_STYLES_ON_COMPONENT_DESTROY} from '@angular/platform-browser';
...
providers: [{
  provide: REMOVE_STYLES_ON_COMPONENT_DESTROY,
  useValue: false,
}]
```

PR Close #51571
2023-08-30 14:42:02 +00:00
..
animations fix(platform-browser): wait until animation completion before destroying renderer (#50860) 2023-06-27 06:27:15 -07:00
src feat(platform-browser): enable removal of styles on component destroy by default (#51571) 2023-08-30 14:42:02 +00:00
test feat(platform-browser): enable removal of styles on component destroy by default (#51571) 2023-08-30 14:42:02 +00:00
testing refactor(platform-browser): use globalThis for global (#50063) 2023-07-14 18:32:01 +00:00
BUILD.bazel refactor(platform-browser): log a warning when a custom or a noop ZoneJS is used with hydration (#49944) 2023-04-23 18:23:28 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
PACKAGE.md docs: add platform to glossary (#30731) 2019-06-12 11:46:25 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00