-
Notifications
You must be signed in to change notification settings - Fork 1
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
TypeError: Cannot read property 'hasOwnProperty' of undefined #34
Comments
@jy1989 |
@akash3gtm thank you and is there anything I can do to avoid this error? |
The issue was coming from typescript. There should not be any other errors regarding typescript, but if you find some you can use |
thank you for the reply I checkout the latest version and try. there are some other errors. looks like same type of empty object error at different place. So I tried to ignore these errors. and finally I found the nativebase style's component errors appear. has this project been completed? to keep nothing change but import? for migrate from nativebase to gluestack-ui |
nativebase slow performance make me worried. and I try to find other library to replace it. and try my best to avoid modify the production app code. |
Yes @jy1989, we made it in such a way that you won't need to change the code, and just by changing the import it will work. |
I am closing this issue now, but please do comment or open a new issue for any problem you face. :) |
here is the version I using. and my code @akash3gtm |
I think no error if the component without any attribute |
are you using aliasing to use |
@akash3gtm then I replace all the code to lots of render errors |
can you let me know the version of |
ok I will try to share my code later, thank you |
just share the code to you from github, please checkout and let me know . thank you @akash3gtm |
hi @jy1989 thank you for sharing, i will see what the issues are and update you on this. |
Hey @akash3gtm, we talked on the other thread. I managed to replicate this in a snack and it appears to be due to the |
Hey @kylegwalsh |
@akash3gtm Whenever the bug is resolved, I can try the new version in my personal repository. It's more complex and will probably help identify any further issues (if any). |
sure, @kylegwalsh |
Hi! I'm also getting the hasOwnProperty error. But this is making me rethink a few things. Do I have to remove native-base package? When I use useTheme I get the error that I need to use NativeBaseProvider but I was trying to use the one on the native-base package. |
Hi @dhcmega , |
Is this effort being abandoned? I'm not seeing much activity recently. Would be great to be able to use this to no longer rely on native-base in the meantime as I manually migrate. |
any update @akash3gtm? |
Same issue here. @akash3gtm Is this repo going to be actively maintained in the future? We are trying to migrate to gluestack-ui-themed-native-base from nativebase but concerned whether this effort will be abandoned too like native base. |
Same error here trying to switch from native-base to @gluestack-ui/themed-native-base. @akash3gtm Any update on this would be great. |
Hi everyone, the product we were working on is almost finished. I will soon start with this issue. |
Any workarounds for this? It is blocking me from migrating |
Same here, TypeError: Cannot read property 'hasOwnProperty' of undefined when migrating from native-base. Any update? |
still having the same issue on It's been 10 months, is there any hope of fixing this soon @akash3gtm? Have you found any fix @jy1989? |
Same issue here. I will follow the issue, I hope a fix will be released soon. For now, we can't migrate from native-base to gluestack. |
same issue here. Now that native-base is causing error with react-native 0.76 I really need to migrate to gluestack but I can't get past these errors. |
What's the issue you're getting with nativebase on v0.76 @hadassaplotnik, cause I'm also planning to switch to it. |
Description
reference the docs https://gluestack.io/ui/docs/migration/native-base-to-gluestack-ui change the import from native-base to gluestack-ui/themed-native-base. it shows error
CodeSandbox/Snack link
No response
Steps to reproduce
gluestack-ui Version
"@gluestack-ui/themed-native-base": "^0.1.101"
Platform
Other Platform
No response
Additional Information
the config is empty object
The text was updated successfully, but these errors were encountered: