VdomDiffService

Class
Namespace: RazorConsole.Core.Vdom
Assembly: RazorConsole.Core

Definition

public sealed class VdomDiffService

Constructors

1
NameTypeDescription
VdomDiffService()Constructor—

Methods

2
NameTypeDescription
Diff(VNode?, VNode?)()VdomDiffResult—
HasChanges(VNode?, VNode?)()BooleanReturns whether current differs from previous. Stops at the first difference and builds no mutation list, so it is cheaper than VNode) when only the answer is needed.