Open hugo-lovighi opened 2 years ago
Hi @kesm0 We are working on the library to make sure that it will work well with the new React 18. For now, unfortunately, I don't have a quick fix. If you can provide a codesandbox with the bug we can look at it more deeply. Else we will focus on the news version for full React 18 compatibility 😊 Thanks for the feedback!
Hello @ivan-dalmet !
I figured out that was coming from react strict mode. As mentionned in offical guide
Everything work as excpeted disabling it.
If anyone has the same problem, quick fix:
<StrictMode>
orreactStrictMode: false
(with nexjs, in nextjs.config)Thanks a lot for the workaround! ❤️ ❤️❤️
Hello ! I upgrade to react 18 and the
asyncValidations
rules doesn't not work anymore.const { isValidating } = useField(props)
isValidating always return true
I try to find a solution working around react-18-upgrade-guide Promises but I dont really understand where the problem come from.
Thank you for your amazing lib !