-
Notifications
You must be signed in to change notification settings - Fork 134
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
constrcutor is not callable #79
Comments
I'm not sure how it was generated. I use expo, the project code will become require, and it will load the entry package of commonjs, but rootSiblings does not have a commonjs export. I am unsure about how to handle this situation. |
do you have a reproducible example? like a expo snack link? |
@sunnylqm click showToast button |
the monorepo config is complex and i wont have much time to dig in, but the root cause is the cjs transpiling (which is not ideal and you need to fix it) new RootSiblings.default(ToastView) btw there is no need to use a state management lib in a simple toast component. if you want a queue, a local array is enough isn't it? |
import RootSiblings from 'react-native-root-siblings';
The text was updated successfully, but these errors were encountered: