angular-docs-cn/tools/public_api_guard
crisbeto d5b87d32b0 perf(ivy): move attributes array into component def (#32798)
Currently Ivy stores the element attributes into an array above the component def and passes it into the relevant instructions, however the problem is that upon minification the array will get a unique name which won't compress very well. These changes move the attributes array into the component def and pass in the index into the instructions instead.

Before:
```
const _c0 = ['foo', 'bar'];

SomeComp.ngComponentDef = defineComponent({
  template: function() {
    element(0, 'div', _c0);
  }
});
```

After:
```
SomeComp.ngComponentDef = defineComponent({
  consts: [['foo', 'bar']],
  template: function() {
    element(0, 'div', 0);
  }
});
```

A couple of cases that this PR doesn't handle:
* Template references are still in a separate array.
* i18n attributes are still in a separate array.

PR Close #32798
2019-10-09 13:16:55 -07:00
..
animations
common fix(common): expand type for "ngForOf" input to work with strict null checks (#31371) 2019-10-07 11:01:22 -07:00
core perf(ivy): move attributes array into component def (#32798) 2019-10-09 13:16:55 -07:00
elements
forms feat(forms): formGroupName and formArrayName also accepts a number (#32607) 2019-10-07 11:00:49 -07:00
http
localize fix(ivy): i18n - use `MessageId` for matching translations (#32594) 2019-09-17 09:17:44 -07:00
platform-browser
platform-browser-dynamic
platform-server
platform-webworker perf(core): Make `PlatformLocation` tree-shakable (#32154) 2019-08-29 21:51:56 -07:00
platform-webworker-dynamic
router docs(router): make `InitialNavigation` part of the public API (#32707) 2019-09-27 14:21:13 -07:00
service-worker feat(service-worker): remove deprecated `versionedFiles` option (#32862) 2019-10-02 09:30:59 -07:00
upgrade
BUILD.bazel
global_utils.d.ts feat(ivy): expose `window.ng.getDebugNode` helper (#32727) 2019-09-17 15:46:07 -07:00
public_api_guard.bzl