X Tutup
Skip to content

fix(views): remove dynamic component views, free host views, free emb…#2571

Merged
tbosch merged 1 commit intoangular:masterfrom
tbosch:simplify-dcl
Jun 17, 2015
Merged

fix(views): remove dynamic component views, free host views, free emb…#2571
tbosch merged 1 commit intoangular:masterfrom
tbosch:simplify-dcl

Conversation

@tbosch
Copy link
Copy Markdown
Contributor

@tbosch tbosch commented Jun 16, 2015

…edded views

Closes #2472
Closes #2339

BREAKING CHANGE

  • DynamicComponentLoader.loadInto{Existing,New}Location is removed
    • use DynamicComponentLoader.loadNextToLocation instead
  • DynamicComponentLoader.loadNextToExistingLocation was renamed into
    DynamicComponentLoader.loadNextToLocation
  • AppViewManager.{create,destroy}Free{Host,Embedded}View was removed
    • use AppViewManager.createViewInContainer and then move the view nodes
      manually around via DomRenderer.getRootNodes()

@tbosch tbosch force-pushed the simplify-dcl branch 2 times, most recently from b18493c to 613ef87 Compare June 16, 2015 22:01
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Maybe remove {

@tbosch
Copy link
Copy Markdown
Contributor Author

tbosch commented Jun 16, 2015

Reviewed in person with @vsavkin

…edded views

Closes angular#2472
Closes angular#2339

BREAKING CHANGE
- `Compiler.compile` has been removed, the only way to compile
  components dynamically is via `Compiler.compileInHost`
- `DynamicComponentLoader.loadIntoExistingLocation` has changed:
  * renamed into `loadIntoLocation`
  * will always create the host element as well
  * requires an element with a variable inside of the host component view
    next to which it will load new component.
- `DynamicComponentLoader.loadNextToExistingLocation` was renamed into
  `DynamicComponentLoader.loadNextToLocation`
- `DynamicComponentLoader.loadIntoNewLocation` is removed
  * use `DynamicComponentLoader.loadNextToLocation` instead
    and then move the view nodes
    manually around via `DomRenderer.getRootNodes()`
- `AppViewManager.{create,destroy}Free{Host,Embedded}View` was removed
  * use `AppViewManager.createViewInContainer` and then move the view nodes
    manually around via `DomRenderer.getRootNodes()`
- `Renderer.detachFreeView` was removed. Use `DomRenderer.getRootNodes()`
  to get the root nodes of a view and detach them manually.
@tbosch tbosch merged commit 5dee8e2 into angular:master Jun 17, 2015
@tbosch tbosch deleted the simplify-dcl branch June 18, 2015 00:12
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

2 participants

X Tutup