angular/packages/core
Andrew Scott c53310ee81 refactor(router): Update RouterLink href to use host binding and signals (#60875)
This commit updates the method of setting the href attribute on
`RouterLink` to use built in host binding rather than custom attribute
setting and sanitization. The advantage here would be automatic handling
of the sanitization and avoiding of writing the same value to the DOM
that we had before.

This change does mean that we _always_ write to the href attribute where
before we only wrote to it when the elemnt was known to support `href`.
That said, the implementation attempts to retain behavior that is as
close as possible: the original value of `href` is used and never updated.

PR Close #60875
2025-05-07 11:31:08 -07:00
..
global refactor(docs-infra): use interpolation instead of innerHTML for better perf (#58913) 2024-11-27 10:59:18 +01:00
primitives refactor(core): drop computation error messages in production (#60700) 2025-05-01 10:11:01 -07:00
rxjs-interop build: remove irrelevant madge circular deps tests (#61156) 2025-05-07 11:28:59 -07:00
schematics refactor(compiler-cli): add flag to enable selectorless (#60977) 2025-04-24 13:02:39 -07:00
src fix(core): missing useExisting providers throwing for optional calls (#61137) 2025-05-06 09:12:38 -07:00
test refactor(router): Update RouterLink href to use host binding and signals (#60875) 2025-05-07 11:31:08 -07:00
testing refactor(core): Remove use of private export PendingTasksInternal where possible (#61049) 2025-05-05 08:56:20 -07:00
BUILD.bazel refactor(core): Move getCurrentInjector/setCurrentInjector to primitives package. (#60090) 2025-02-28 18:47:08 +00:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json refactor: add Node.js 24 as supported version (#61142) 2025-05-06 13:38:25 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00