Skip to main content
Module

x/dom_diff/diff.ts>diffChildren

The real DOM diffing
Latest
function diffChildren
import { diffChildren } from "https://deno.land/x/dom_diff@1.0.0-beta.2/diff.ts";

Type Parameters

optional
T extends Record<PropertyKey, Diff<unknown>> = never

Parameters

oldNode: Iterable<Node>
newNode: Iterable<Node>
optional
differs: T = [UNSUPPORTED]
optional
options: DiffOptions = [UNSUPPORTED]

Returns

Iterable<DiffResult<DataType.Node, NodePatch> | (Position & (ToEntry<T>))>