Objects are not valid as a React child (found: object with keys {id, manager}).
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!
Can you make a minimal reproducible demo?
@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?
I think it's related and seems also related to Modal. But never saw this error before.
@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!