UNPKG

nexora

Version:

A lightweight, production-ready JavaScript library for building user interfaces, supporting JSX.

10 lines (9 loc) 407 B
import { VNode } from '../../../core'; /** * Diff and update children * @description - This function is used to diff and update children of a parent DOM element. * @param parentDom - The parent DOM element * @param oldChildren - The old children * @param newChildren - The new children */ export declare function diffChildren(parentDom: HTMLElement, oldChildren: VNode[], newChildren: VNode[]): void;