Skip to content

Conversation

tbosch
Copy link
Contributor

@tbosch tbosch commented Dec 18, 2015

BREAKING CHANGE:

  • PLATFORM_PIPES can only contain types and arrays of types,
    but no bindings!
  • Compiler.compileInHost now returns a HostViewFactoryRef
  • Component view is not yet created when component constructor is called.
    -> use onInit lifecycle callback to access the view of a component
  • ViewRef is renamed to EmbeddedViewRef
  • internalView is gone, use EmbeddedViewRef.rootNodes to access
    the root nodes of an embedded view
  • renderer.setElementProperty, ..setElementStyle, ..setElementAttribute now
    take a native element instead of an ElementRef
  • Renderer interface now operates on plain native nodes,
    instead of RenderElementRefs or RenderViewRefs


var _COMPILE_METADATA_FROM_JSON = {
'Type': CompileTypeMetadata.fromJson,
'Template': CompileTemplateMetadata.fromJson,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Type and Template

@tbosch
Copy link
Contributor Author

tbosch commented Dec 21, 2015

Reviewed in person with @vsavkin

@tbosch tbosch force-pushed the ultraperf branch 10 times, most recently from 2e42eb1 to 8a335f6 Compare December 28, 2015 21:35
The bundles will only be used if the flag `--useBundles` is passed to `gulp build.js`.
@tbosch
Copy link
Contributor Author

tbosch commented Dec 30, 2015

Also reviewed with @kegluneq for the transformer bits.

@tbosch tbosch force-pushed the ultraperf branch 3 times, most recently from f38258a to 54e176a Compare December 30, 2015 22:58
BREAKING CHANGE:
- Platform pipes can only contain types and arrays of types,
  but no bindings any more.
- When using transformers, platform pipes need to be specified explicitly
  in the pubspec.yaml via the new config option
  `platform_pipes`.
- `Compiler.compileInHost` now returns a `HostViewFactoryRef`
- Component view is not yet created when component constructor is called.
  -> use `onInit` lifecycle callback to access the view of a component
- `ViewRef#setLocal` has been moved to new type `EmbeddedViewRef`
- `internalView` is gone, use `EmbeddedViewRef.rootNodes` to access
  the root nodes of an embedded view
- `renderer.setElementProperty`, `..setElementStyle`, `..setElementAttribute` now
  take a native element instead of an ElementRef
- `Renderer` interface now operates on plain native nodes,
  instead of `RenderElementRef`s or `RenderViewRef`s
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants