[REM] component: remove support for css tag

This commit is contained in:
Géry Debongnie
2021-12-20 16:19:07 +01:00
committed by Aaron Bohy
parent 7e40fa300a
commit 416deeb865
22 changed files with 36 additions and 322 deletions
-4
View File
@@ -12,7 +12,6 @@ import {
import { handleError, fibersInError } from "./error_handling";
import { applyDefaultProps } from "./props_validation";
import { STATUS } from "./status";
import { applyStyles } from "./style";
export function component(
name: string | typeof Component,
@@ -106,9 +105,6 @@ export class ComponentNode<T extends typeof Component = typeof Component>
this.childEnv = env;
this.component = new C(props, env, this) as any;
this.renderFn = app.getTemplate(C.template).bind(this.component, this.component, this);
if (C.style) {
applyStyles(C);
}
this.component.setup();
}