[MOV] move lifecycle_hooks into component/

This commit is contained in:
Géry Debongnie
2021-10-19 09:26:18 +02:00
parent ba32772a92
commit 700d574314
4 changed files with 4 additions and 4 deletions
@@ -1,4 +1,4 @@
import { getCurrent } from "./component/component_node";
import { getCurrent } from "./component_node";
// -----------------------------------------------------------------------------
// hooks
+1 -1
View File
@@ -68,6 +68,6 @@ export {
onPatched,
onRender,
onDestroyed,
} from "./lifecycle_hooks";
} from "./component/lifecycle_hooks";
export const __info__ = {};
+1 -1
View File
@@ -1,6 +1,6 @@
import { App, Component, mount, onWillStart, onWillUpdateProps, useState } from "../../src";
import { Fiber } from "../../src/component/fibers";
import { onMounted, onPatched, onWillPatch, onWillUnmount } from "../../src/lifecycle_hooks";
import { onMounted, onPatched, onWillPatch, onWillUnmount } from "../../src/component/lifecycle_hooks";
import { Scheduler } from "../../src/component/scheduler";
import { status } from "../../src/component/status";
import { xml } from "../../src/tags";
+1 -1
View File
@@ -5,7 +5,7 @@ import {
onPatched,
onWillUpdateProps,
onRender,
} from "../../src/lifecycle_hooks";
} from "../../src/component/lifecycle_hooks";
import { status } from "../../src/component/status";
import { xml } from "../../src/tags";
import {