angular/packages
Charles Lyding 52be35118f fix(platform-browser): collect external component styles from server rendering (#59031)
SSR generated component styles used in development environments will add
external styles via link elements to the HTML. However, the runtime would
previously not collect these link elements for reuse with rendered components.
This would result in two copies of the link elements present in the DOM. In
isolation this is not problematic as it is only present in development mode.
Unfortunately, the Vite-based CSS HMR functionality used by the Angular CLI
only updates the first stylesheet it finds and leaves other instances of the
stylesheet in place. This behavior causes the styles to be left in an
inconsistent state. This could be considered a defect within Vite as it should
update all relevant styles to maintain consistency but ideally there should
not be two instances in the Angular SSR case. To avoid the Vite issue, the
runtime will now collect SSR generated external styles and reuse them.

PR Close #59031
2024-12-05 16:12:22 -08:00
..
animations docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
bazel feat(core): support TypeScript 5.7 (#58609) 2024-11-25 17:12:10 +00:00
benchpress build: update cross-repo angular dependencies (#58666) 2024-11-19 16:51:40 -08:00
common refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:05:59 +01:00
compiler refactor(compiler): generate debug location instruction (#58982) 2024-12-05 16:09:55 -08:00
compiler-cli refactor(compiler-cli): move two-way binding fix behind flag (#59002) 2024-12-05 16:11:02 -08:00
core refactor(core): add runtime logic for attaching source locations (#58982) 2024-12-05 16:09:55 -08:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
examples refactor(docs-infra): update comments (#59004) 2024-12-04 18:05:59 +01:00
forms refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:05:59 +01:00
language-service fix(compiler-cli): check event side of two-way bindings (#59002) 2024-12-05 16:11:02 -08:00
localize docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
misc/angular-in-memory-web-api docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
platform-browser fix(platform-browser): collect external component styles from server rendering (#59031) 2024-12-05 16:12:22 -08:00
platform-browser-dynamic refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
platform-server Revert "fix(platform-server): remove peer dependency on animations (#58997)" (#59051) 2024-12-04 19:11:12 +01:00
private/testing docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
router refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
service-worker docs: fix missing alert block styles in the API reference (#59020) 2024-12-04 11:02:42 +01:00
ssr refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
upgrade refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:05:59 +01:00
zone.js build: update dependency mocha to v11 (#59012) 2024-12-03 12:21:45 +01:00
BUILD.bazel feat(docs-infra): include code examples files in the API gen (#59004) 2024-12-04 18:05:58 +01:00
circular-deps-test.conf.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json feat(language-service): add code reactoring action to migrate @Input to signal-input (#57214) 2024-08-29 07:50:41 -07:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT