@gtkx/react 0.10.4 → 0.10.5
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/fiber-root.js +1 -1
- package/dist/render.js +1 -1
- package/package.json +3 -3
package/dist/fiber-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reconciler } from "./reconciler.js";
|
|
2
2
|
export const createFiberRoot = (container) => {
|
|
3
3
|
const instance = reconciler.getInstance();
|
|
4
|
-
return instance.createContainer(container,
|
|
4
|
+
return instance.createContainer(container, 1, null, false, null, "", (error) => console.error("Fiber root render error:", error), () => { }, () => { }, () => { }, null);
|
|
5
5
|
};
|
package/dist/render.js
CHANGED
|
@@ -87,7 +87,7 @@ export const setHotReloading = (value) => {
|
|
|
87
87
|
export const render = (element, appId, flags) => {
|
|
88
88
|
app = start(appId, flags);
|
|
89
89
|
const instance = reconciler.getInstance();
|
|
90
|
-
container = instance.createContainer(app,
|
|
90
|
+
container = instance.createContainer(app, 1, null, false, null, "", (error) => {
|
|
91
91
|
discardAllBatches();
|
|
92
92
|
throw formatRenderError(error);
|
|
93
93
|
}, (error) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gtkx/react",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "Build GTK4 desktop applications with React and TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gtk",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"react-reconciler": "^0.33.0",
|
|
39
|
-
"@gtkx/ffi": "0.10.
|
|
40
|
-
"@gtkx/gir": "0.10.
|
|
39
|
+
"@gtkx/ffi": "0.10.5",
|
|
40
|
+
"@gtkx/gir": "0.10.5"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react-reconciler": "^0.32.3",
|