frontend-hamroun
Version:
A lightweight frontend JavaScript framework with React-like syntax
15 lines • 417 B
TypeScript
export declare class Component {
state: any;
props: any;
element: HTMLElement | null;
private _mounted;
constructor(props?: any);
componentDidMount(): void;
setState(newState: any): Promise<void>;
private _replayEvents;
private _deepCloneWithEvents;
update(): Promise<HTMLElement | Text>;
private _updateElement;
render(): any;
}
//# sourceMappingURL=component.d.ts.map