-
Notifications
You must be signed in to change notification settings - Fork 39
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
Use globally #11
Comments
put the component in app.js |
Sorry for the late reply. This is a good suggestion and definitely worth doing. Technically I do not have the experience of doing it but I will take a look into some toast libraries and figure it out. Any contribution is also welcome too. |
There is an excellent library for this purpose: And some of the components based on it: |
Why will this not work? |
Maybe he wants an adhoc way to show the popup, e.g. some specific screens want to show it. |
Is it not possible to put the component in the app.js add a listener for global state updates and fire notification off this? |
I have a query. How can I show popup in my app's background state? Can anybody tell me about that? |
this is not an issue per say bit how can we use this globally
as opposite to on a particular screen. I am using react navigation lib
and i want this to be able to triggered irrespective of the screen the user is currently on
The text was updated successfully, but these errors were encountered: