MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / compositePropsEqual

Function compositePropsEqual

packages/core/src/runtime/commit/equality.ts:224–232  ·  view source on GitHub ↗
(prev: unknown, next: unknown)

Source from the content-addressed store, hash-verified

222}
223
224export function compositePropsEqual(prev: unknown, next: unknown): boolean {
225 if (Object.is(prev, next)) return true;
226 if (typeof prev !== "object" || prev === null) return false;
227 if (typeof next !== "object" || next === null) return false;
228 return shallowRecordEqual(
229 prev as Readonly<Record<string, unknown>>,
230 next as Readonly<Record<string, unknown>>,
231 );
232}
233
234export function evaluateAppStateSelections(
235 selections: readonly AppStateSelection[],

Callers 1

executeCompositeRenderFunction · 0.85

Calls 1

shallowRecordEqualFunction · 0.85

Tested by

no test coverage detected