Class MemoNode
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Node that skips rebuilding its child tree when the dependency array is unchanged. When omitting key, do not change the order of MemoNodes within the same component, since identity is resolved by call order.
public sealed class MemoNode : VNode
- Inheritance
-
objectMemoNode
- Inherited Members
Properties
- Dependencies
Dependency array. Compared element-wise with
Object.issemantics (Velvet.ObjectIs.AreEqualDeps(object[], object[])): reference-type elements by identity (a fresh-but-equal record counts as changed), strings/primitives by value, floats by raw bit pattern. NOT a structuralSequenceEqual— there is no recursion into element contents.
- Factory
Factory function that produces a VNode.