@viewfly/core 3.0.0-alpha.6 → 3.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +3 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1986,14 +1986,15 @@ function patchComponent(nativeRenderer, component, oldChildAtom, newAtom, contex
|
|
|
1986
1986
|
context = {
|
|
1987
1987
|
isParent: true,
|
|
1988
1988
|
anchorNode: portalContainer,
|
|
1989
|
-
contextContainer:
|
|
1989
|
+
contextContainer: portalContainer,
|
|
1990
1990
|
computedContainer: portalContainer
|
|
1991
1991
|
};
|
|
1992
1992
|
}
|
|
1993
1993
|
else if (computedContainer !== context.contextContainer) needMove = true;
|
|
1994
1994
|
component.viewMetadata = {
|
|
1995
1995
|
atom: newAtom,
|
|
1996
|
-
...context
|
|
1996
|
+
...context,
|
|
1997
|
+
contextContainer: rawContext.contextContainer
|
|
1997
1998
|
};
|
|
1998
1999
|
newAtom.child = createChildChain(newTemplate, nativeRenderer, newAtom.namespace);
|
|
1999
2000
|
diff(nativeRenderer, component, newAtom.child, oldChildAtom, context, needMove);
|
package/dist/index.js
CHANGED
|
@@ -1987,14 +1987,15 @@ function patchComponent(nativeRenderer, component, oldChildAtom, newAtom, contex
|
|
|
1987
1987
|
context = {
|
|
1988
1988
|
isParent: true,
|
|
1989
1989
|
anchorNode: portalContainer,
|
|
1990
|
-
contextContainer:
|
|
1990
|
+
contextContainer: portalContainer,
|
|
1991
1991
|
computedContainer: portalContainer
|
|
1992
1992
|
};
|
|
1993
1993
|
}
|
|
1994
1994
|
else if (computedContainer !== context.contextContainer) needMove = true;
|
|
1995
1995
|
component.viewMetadata = {
|
|
1996
1996
|
atom: newAtom,
|
|
1997
|
-
...context
|
|
1997
|
+
...context,
|
|
1998
|
+
contextContainer: rawContext.contextContainer
|
|
1998
1999
|
};
|
|
1999
2000
|
newAtom.child = createChildChain(newTemplate, nativeRenderer, newAtom.namespace);
|
|
2000
2001
|
diff(nativeRenderer, component, newAtom.child, oldChildAtom, context, needMove);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/core",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.7",
|
|
4
4
|
"description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|