auto-form icon indicating copy to clipboard operation
auto-form copied to clipboard

useEffect has missing dependencies Typescript error!

Open kayoroxa opened this issue 7 months ago • 2 comments

image

image

React Hook React.useEffect has missing dependencies: 'formSchema', 'onParsedValuesChange', 'onValuesChangeProp', and 'values'. Either include them or remove the dependency array. If 'onValuesChangeProp' changes too often, find the parent component that defines it and wrap that definition in useCallback.

File: auto-form/index.tsx

And when trying to fix this error, this other thing happens: use effect Maximum update depth exceeded.

kayoroxa avatar Jul 08 '24 16:07 kayoroxa