diff --git a/src/Field.tsx b/src/Field.tsx index 964fff12..e2133305 100644 --- a/src/Field.tsx +++ b/src/Field.tsx @@ -46,7 +46,8 @@ function requireUpdate( if (typeof shouldUpdate === 'function') { return shouldUpdate(prev, next, 'source' in info ? { source: info.source } : {}); } - return prevValue !== nextValue; + // return prevValue !== nextValue; + return !isEqual(prev, next) } // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style