22880eae16
This change contains conditionally attached classes which provide human readable (debug) level information for `LView`, `LContainer` and other internal data structures. These data structures are stored internally as array which makes it very difficult during debugging to reason about the current state of the system. Patching the array with extra property does change the array's hidden class' but it does not change the cost of access, therefore this patching should not have significant if any impact in `ngDevMode` mode. (see: https://jsperf.com/array-vs-monkey-patch-array) So instead of seeing: ``` Array(30) [Object, 659, null, …] ``` ``` LViewDebug { views: [...], flags: {attached: true, ...} nodes: [ {html: '<div id="123">', ..., nodes: [ {html: '<span>', ..., nodes: null} ]} ] } ``` PR Close #28945 |
||
---|---|---|
.. | ||
animations | ||
bazel | ||
benchpress | ||
common | ||
compiler | ||
compiler-cli | ||
core | ||
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 | ||
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