Rudomanenko Volodymyr

Results 26 comments of Rudomanenko Volodymyr

I think it is a duplicate of https://github.com/microsoft/TypeScript/issues/54087

I don't yet know the solution to this bug. I tried to simplify the example even more. If part of the reason is state._mount being false after form reset ```typescript...

Thanks for the answer. I'll explain how I discovered this issue. My coworker works on very complex form that already has performance issues. He actively uses setValue and uses DevTool....

My workaround is to use `Controller` instead of `register` ```tsx ❌ ✅ ( )}/> ```

I recreated the issue. You can paste below code into the browser console and see the same error. I slightly modified trackValueOnNode function but it is essentially what is happening...

React just doesn't expect that ref is overwritten with a ref that is wrapped in a proxy.