mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[MOV] move lifecycle_hooks into component/
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getCurrent } from "./component/component_node";
|
||||
import { getCurrent } from "./component_node";
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// hooks
|
||||
+1
-1
@@ -68,6 +68,6 @@ export {
|
||||
onPatched,
|
||||
onRender,
|
||||
onDestroyed,
|
||||
} from "./lifecycle_hooks";
|
||||
} from "./component/lifecycle_hooks";
|
||||
|
||||
export const __info__ = {};
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user