feat(core): view engine - integrate with ComponentFactory
(#14237)
`ComponentFactory`s can now be created from a `ViewDefinitionFactory` via `RefFactory.createComponentFactory`. This commit also: - splits `Services` into `Refs` and `RootData` - changes `ViewState` into a bitmask - implements `ViewContainerRef.move` Part of #14013 PR Close #14237
This commit is contained in:

committed by
Miško Hevery

parent
388afa414e
commit
14d7844b2b
@ -43,10 +43,7 @@ export function main() {
|
||||
enableProdMode();
|
||||
appMod = new AppModule();
|
||||
appMod.bootstrap();
|
||||
tree = appMod.rootComp;
|
||||
const rootEl = document.querySelector('#root');
|
||||
rootEl.textContent = '';
|
||||
rootEl.appendChild(appMod.rootEl);
|
||||
tree = appMod.componentRef.instance;
|
||||
|
||||
bindAction('#destroyDom', destroyDom);
|
||||
bindAction('#createDom', createDom);
|
||||
|
Reference in New Issue
Block a user