Skip to content
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

Objects are not valid as a React child (found: object with keys {id, manager}). #66

Open
wmonecke opened this issue Aug 13, 2020 · 4 comments

Comments

@wmonecke
Copy link

wmonecke commented Aug 13, 2020

Hi!

I am not 100% sure this library is the culprit but since I added it a new error has been showing up impacting 30% of the users.
I can't get a clear stack trace and I don't know why. This is all I can get:

Error Invariant Violation: Invariant Violation: Objects are not valid as a React child (found: object with keys {id, manager}).

This error is located at:
    in o
    in RCTView
    in RCTModalHostView
    in o
    in RCTView

I made a deep search and this library is one of two that uses manager as a variable. The other library has been tested in production for a year now.

Do you think you could pinpoint what the issue is?

I am not using this library itself but react-native-root-toast.

"react-native-root-toast": "^3.2.1",
"react-native-root-siblings": "^4.0.6",

Please I need any kind of help or hint!

@sunnylqm
Copy link
Collaborator

sunnylqm commented Aug 13, 2020

Can you make a minimal reproducible demo?

@wmonecke
Copy link
Author

wmonecke commented Aug 13, 2020

@sunnylqm I am not able to reproduce it. It works on my phone (Android 10) and on my simulator (iOS). However, I suddenly have over 100 crashes in production.

Looking just at the error itself. Do you think this could be related to this library?

@sunnylqm
Copy link
Collaborator

sunnylqm commented Aug 13, 2020

I think it's related and seems also related to Modal. But never saw this error before.

@wmonecke
Copy link
Author

@sunnylqm
Yes, my thoughts too.
If I do have more info I will let you know and will keep this issue open for the moment.
Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants