angular-docs-cn/packages
crisbeto 12fd06916b fix(ivy): don't match directives against attribute bindings (#31541)
Fixes Ivy matching directives against attribute bindings (e.g. `[attr.some-directive]="foo"`). Works by excluding attribute bindings from the attributes array during compilation. This has the added benefit of generating less code.

**Note:** My initial approach to implementing this was to have a different marker for attribute bindings so that they can be ignored when matching directives, however as I was implementing it I realized that the attributes in that array were only used for directive matching (as far as I could tell). I decided to drop the attribute bindings completely, because it results in less generated code.

PR Close #31541
2019-07-16 23:59:13 -04:00
..
animations
bazel
benchpress
common
compiler fix(ivy): don't match directives against attribute bindings (#31541) 2019-07-16 23:59:13 -04:00
compiler-cli fix(ivy): don't match directives against attribute bindings (#31541) 2019-07-16 23:59:13 -04:00
core fix(ivy): don't match directives against attribute bindings (#31541) 2019-07-16 23:59:13 -04:00
docs
elements
examples
forms
http
language-service
platform-browser
platform-browser-dynamic
platform-server
platform-webworker
platform-webworker-dynamic
private/testing
router
service-worker
upgrade
zone.js
BUILD.bazel
README.md
empty.ts
goog.d.ts
license-banner.txt
system.d.ts
tsconfig-build.json
tsconfig-test.json
tsconfig.json
types.d.ts

README.md

Angular

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

License: MIT