inferno
Version:
An extremely fast, React-like JavaScript library for building modern user interfaces
7 lines (6 loc) • 871 B
TypeScript
import type { ContextObject, VNode } from '../core/types';
import { type AnimationQueues } from './utils/common';
export declare function patch(lastVNode: VNode, nextVNode: VNode, parentDOM: Element, context: ContextObject, isSVG: boolean, nextNode: Element | null, lifecycle: Array<() => void>, animations: AnimationQueues): void;
export declare function patchSingleTextChild(lastChildren: any, nextChildren: any, parentDOM: Element): void;
export declare function patchElement(lastVNode: VNode, nextVNode: VNode, context: ContextObject, isSVG: boolean, lifecycle: Array<() => void>, animations: AnimationQueues): void;
export declare function updateClassComponent(instance: any, nextState: any, nextProps: any, parentDOM: Element, context: any, isSVG: boolean, force: boolean, nextNode: Element | null, lifecycle: Array<() => void>, animations: AnimationQueues): void;