-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[React Native] Strange Error at render and/or submit #10456
Comments
Interesting, the error's the same as #10455 |
So, from what I can see on the surface, What's weird is that the last "working" version was v7.44.0-rc.1 (npm can't find v7.44.0-rc.2) for some reason; can't verify). I don't belive it contains any changes related to |
Ah, OK, so v7.44.0-rc.2 is the version that introduced the @bluebill1049 do you want to set a new min required Node version to v16.9.0 or try to avoid it? It is a major RHF version bump.. |
@Moshyfawn thank you so much for the reply 😃 Alright then I have a good experience with React, do you think, that I can fix this issue? |
Let's see what @bluebill1049 wants to do first and go from there |
@bluebill1049 which commit introduced that? |
Thank you @Moshyfawn 🙏 fixing it. |
|
* 🪟 fix #10456object.hasown replaced with hasOwnProperty * fix: use hasownproperty in isEmptyArray --------- Co-authored-by: moshyfawn <email@moshyfawn.dev>
I was surprised that Object.hasOwn was a relatively newly implemented method! |
I didn't know that as well @ryota-murakami 😂 we have been spoiled by babel for too long. |
@bluebill1049 I agree with you! |
Hello ! Awesome! the issue is fixed quickly! I appreciate your reactivity. 😍 Enjoy your day |
Version Number
7.44.1
Codesandbox/Expo snack
https://snack.expo.dev/@frg1220/bug---react-hook-form-v7
Steps to reproduce
Steps
Notes
7.17.5
, solves the problem.Expected behaviour
I'm expecting to see the form running without any issues, do submission and apply normal validations.
What browsers are you seeing the problem on?
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: