angular/packages/compiler-cli/linker/src
Kristiyan Kostadinov abdb6e2945 refactor(compiler): allow binder to be created without matcher (#61018)
Currently to create an `R3TargetBinder`, we have to pass some sort of directive matcher, however we also have a couple of use cases where we use the binder to do analysis that's unrelated to directives (e.g. resolving the `@defer` blocks). In these cases having to create a dummy matcher adds some slight overhead and makes the code harder to reason about since it looks like directive matching may be happening.

These changes update the `R3TargetBinder` to allow for `null` to be passed as the directive matcher.

PR Close #61018
2025-04-29 21:06:10 +00:00
..
ast refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
file_linker refactor(compiler): allow binder to be created without matcher (#61018) 2025-04-29 21:06:10 +00:00
fatal_linker_error.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
linker_import_generator.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00