@reckona/mreact-compat 0.0.181 → 0.0.183
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reckona/mreact-compat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.183",
|
|
4
4
|
"description": "React-compatible runtime implementation for mreact.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compatibility",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@reckona/mreact-reactive-core": "0.0.
|
|
73
|
-
"@reckona/mreact-shared": "0.0.
|
|
72
|
+
"@reckona/mreact-reactive-core": "0.0.183",
|
|
73
|
+
"@reckona/mreact-shared": "0.0.183"
|
|
74
74
|
}
|
|
75
75
|
}
|
package/src/host-reconciler.ts
CHANGED
|
@@ -2595,7 +2595,6 @@ function tryCreateInitialHostOnlyFiber(
|
|
|
2595
2595
|
if (
|
|
2596
2596
|
current !== undefined ||
|
|
2597
2597
|
options.previousNodes !== undefined ||
|
|
2598
|
-
!shouldUseDirectHostTextChild() ||
|
|
2599
2598
|
typeof node.type !== "string" ||
|
|
2600
2599
|
!canCreateInitialHostOnlyNode(node)
|
|
2601
2600
|
) {
|
|
@@ -2625,7 +2624,10 @@ function createInitialHostOnlyElementFiber(
|
|
|
2625
2624
|
fiber.flags |= Placement;
|
|
2626
2625
|
fiber.hostChildListChanged = true;
|
|
2627
2626
|
|
|
2628
|
-
if (
|
|
2627
|
+
if (
|
|
2628
|
+
getDirectHostTextChild(node.props.children) === undefined ||
|
|
2629
|
+
!shouldUseDirectHostTextChild()
|
|
2630
|
+
) {
|
|
2629
2631
|
fiber.child = createInitialHostOnlyChildList(
|
|
2630
2632
|
fiber,
|
|
2631
2633
|
node.props.children as ReactCompatNode,
|