[IMP] component,qweb: props validation

We re-add the possibility to validate props when dev mode is active.
No change in the API right Now. The dev mode is activated via the
configure method of App class.
This commit is contained in:
Mathieu Duckerts-Antoine
2021-10-20 16:08:31 +02:00
committed by Aaron Bohy
parent 15e4c856da
commit c16d8ed6de
15 changed files with 1308 additions and 714 deletions
+2 -2
View File
@@ -1070,7 +1070,7 @@ describe("lifecycle hooks", () => {
class Child extends Component {
static template = xml`<div>child</div>`;
setup() {
useLogLifecycle(steps)
useLogLifecycle(steps);
}
}
@@ -1110,7 +1110,7 @@ describe("lifecycle hooks", () => {
"Child:render",
"Parent:willPatch",
"Child:mounted",
"Parent:patched"
"Parent:patched",
]);
Object.freeze(steps);
});