-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
util/src/hooks/useMergedState.ts
Line 39 in c809254
if (mergedValue !== newValue && onChangeRef.current) { |
这里为什么要加这么一个判断,如果修改的值变成和默认值一样,这个函数就不执行了。是为了解决哪个问题?
Metadata
Metadata
Assignees
Labels
No labels