Reference
memo
Wraps an element type with optional prop comparison for memoized renders.
Signature
function memo<P>(type: ElementType<P>, compare?: (previous: P, next: P): boolean): MemoType<P>Reference
Wraps an element type with optional prop comparison for memoized renders.
function memo<P>(type: ElementType<P>, compare?: (previous: P, next: P): boolean): MemoType<P>