https://github.com/angular/angular
Revision be9e4892f9d2e3dbc772b732a130f97d67cba965 authored by Gerald Monaco on 30 May 2024, 17:45:27 UTC, committed by Andrew Kushnir on 20 June 2024, 21:59:58 UTC
When collecting nodes from the DOM for hydration, we need to treat nodes with paths (e.g. content projection) as the new root for all subsequent elements, not just the next one.

Additionally, when using content projection it's possible for translated content to become disconnected, e.g. when it doesn't match a selector and there isn't a default. We need to handle such cases by manipulating the disconnected node data associated with hydration as usual.

PR Close #56192
1 parent 2f73281
History
Tip revision: be9e4892f9d2e3dbc772b732a130f97d67cba965 authored by Gerald Monaco on 30 May 2024, 17:45:27 UTC
fix(core): improve support for i18n hydration of projected content (#56192)
Tip revision: be9e489
File Mode Size
.circleci
.devcontainer
.github
.husky
.ng-dev
.vscode
.yarn
adev
contributing-docs
devtools
goldens
integration
modules
packages
scripts
third_party
tools
.bazelignore -rw-r--r-- 1.5 KB
.bazelrc -rw-r--r-- 7.3 KB
.bazelversion -rw-r--r-- 6 bytes
.clang-format -rw-r--r-- 73 bytes
.editorconfig -rw-r--r-- 245 bytes
.gitattributes -rw-r--r-- 146 bytes
.gitignore -rw-r--r-- 973 bytes
.gitmessage -rw-r--r-- 7.2 KB
.mailmap -rw-r--r-- 51 bytes
.npmrc -rw-r--r-- 21 bytes
.nvmrc -rw-r--r-- 8 bytes
.prettierrc -rw-r--r-- 194 bytes
.pullapprove.yml -rw-r--r-- 28.3 KB
.yarnrc -rw-r--r-- 130 bytes
BUILD.bazel -rw-r--r-- 2.5 KB
CHANGELOG.md -rw-r--r-- 323.6 KB
CHANGELOG_ARCHIVE.md -rw-r--r-- 997.0 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.6 KB
CONTRIBUTING.md -rw-r--r-- 15.6 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 5.2 KB
SECURITY.md -rw-r--r-- 413 bytes
WORKSPACE -rw-r--r-- 7.6 KB
browser-providers.conf.d.ts -rw-r--r-- 387 bytes
browser-providers.conf.js -rw-r--r-- 2.4 KB
gulpfile.js -rw-r--r-- 571 bytes
karma-js.conf.js -rw-r--r-- 6.0 KB
package.json -rw-r--r-- 9.6 KB
packages.bzl -rw-r--r-- 3.0 KB
renovate.json -rw-r--r-- 2.8 KB
tsconfig-tslint.json -rw-r--r-- 200 bytes
tslint.json -rw-r--r-- 5.2 KB
yarn.bzl -rw-r--r-- 77 bytes
yarn.lock -rw-r--r-- 764.5 KB

README.md

back to top