react-pixi-fiber 1.0.1 → 1.0.3
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/CHANGELOG.md +17 -1
- package/cjs/react-pixi-fiber.development.js +4 -2
- package/cjs/react-pixi-fiber.production.min.js +2 -2
- package/cjs/react-pixi-fiber.production.min.js.map +1 -1
- package/es/react-pixi-fiber.development.js +5 -3
- package/es/react-pixi-fiber.production.min.js +2 -2
- package/es/react-pixi-fiber.production.min.js.map +1 -1
- package/package.json +1 -1
- package/src/ReactPixiFiber.js +3 -1
- package/src/render.js +2 -1
- package/umd/react-pixi-fiber.development.js +4 -2
- package/umd/react-pixi-fiber.production.min.js +2 -2
- package/umd/react-pixi-fiber.production.min.js.map +1 -1
package/package.json
CHANGED
package/src/ReactPixiFiber.js
CHANGED
|
@@ -119,7 +119,9 @@ export function cancelTimeout(id) {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
export function clearContainer(container) {
|
|
122
|
-
container
|
|
122
|
+
if (container) {
|
|
123
|
+
container.removeChildren();
|
|
124
|
+
}
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
export function commitMount(instance, type, props, internalHandle) {
|
package/src/render.js
CHANGED
|
@@ -21406,7 +21406,9 @@
|
|
|
21406
21406
|
clearTimeout(id);
|
|
21407
21407
|
}
|
|
21408
21408
|
function clearContainer(container) {
|
|
21409
|
-
container
|
|
21409
|
+
if (container) {
|
|
21410
|
+
container.removeChildren();
|
|
21411
|
+
}
|
|
21410
21412
|
}
|
|
21411
21413
|
function commitMount(instance, type, props, internalHandle) {
|
|
21412
21414
|
{
|
|
@@ -21477,7 +21479,7 @@
|
|
|
21477
21479
|
var unstable_batchedUpdates = ReactPixiFiberAsPrimaryRenderer.batchedUpdates;
|
|
21478
21480
|
|
|
21479
21481
|
function getDevToolsVersion() {
|
|
21480
|
-
return
|
|
21482
|
+
return React.version;
|
|
21481
21483
|
}
|
|
21482
21484
|
var roots = new Map();
|
|
21483
21485
|
/*
|