nervjs
Version:
A react-like framework based on virtual-dom
17 lines (16 loc) • 439 B
TypeScript
import { VType } from 'nerv-shared';
declare class StateLessComponent {
vtype: VType;
type: Function;
name: string;
_owner: any;
props: any;
_rendered: any;
key: any;
dom: Element | null;
constructor(type: any, props: any);
init(parentContext: any): Element;
update(previous: any, current: any, parentContext: any): any;
destroy(): void;
}
export default StateLessComponent;