steinybot opened this issue 3 years ago · 0 comments
According to the docs useImperativeHandle ought to have a deps argument.
useImperativeHandle
deps
The TypeScript definition is:
function useImperativeHandle<T, R extends T>(ref: Ref<T>|undefined, init: () => R, deps?: DependencyList): void;