Open tab opened 1 year ago
Unfortunately, this is a problem with realm-js. This was designed for a single React DOM tree.
I created an issue yesterday. https://github.com/realm/realm-js/issues/6233
However it's not the full solution. You must use e.g. mobx also (because React Context is also for a specific React DOM Tree only)
Take a look at: https://gist.github.com/aight8/21d78a05ff0f648fb93671879b2c83aa
What happened?
Hey there, I would like to report an issue that I've encountered while develop my app.
Here is the error log:
This error occurs when I try to open a modal using the following code:
Please let me know if you need any further information or if there's anything I can do to assist in resolving this issue.
Thank you for your attention.
What was the expected behaviour?
No response
Was it tested on latest react-native-navigation?
Help us reproduce this issue!
Demo application
https://github.com/tab/rnn-realm-demo
In what environment did this happen?
React Native Navigation version: 7.37.1 React Native version: 0.72.6 Has Fabric (React Native's new rendering system) enabled: no Node version: 20.5.1
"@realm/react": "^0.6.1" "realm": "^12.2.1"