mirror of https://github.com/vuejs/core.git
chore: todos
This commit is contained in:
parent
64e007eabe
commit
e41858cde4
|
@ -139,6 +139,7 @@ export function createComponent(
|
||||||
): VaporComponentInstance {
|
): VaporComponentInstance {
|
||||||
// check if we are the single root of the parent
|
// check if we are the single root of the parent
|
||||||
// if yes, inject parent attrs as dynamic props source
|
// if yes, inject parent attrs as dynamic props source
|
||||||
|
// TODO avoid child overwriting parent
|
||||||
if (
|
if (
|
||||||
isSingleRoot &&
|
isSingleRoot &&
|
||||||
component.inheritAttrs !== false &&
|
component.inheritAttrs !== false &&
|
||||||
|
@ -190,6 +191,7 @@ export function createComponent(
|
||||||
instance.block = []
|
instance.block = []
|
||||||
} else {
|
} else {
|
||||||
instance.devtoolsRawSetupState = setupResult
|
instance.devtoolsRawSetupState = setupResult
|
||||||
|
// TODO make the proxy warn non-existent property access during dev
|
||||||
instance.setupState = proxyRefs(setupResult)
|
instance.setupState = proxyRefs(setupResult)
|
||||||
devRender(instance)
|
devRender(instance)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue