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
return promise after action creator with thunk #61
Comments
If you change |
Yes but everywhere I want to use this function, I will need to dispatch Finally, I find a way following your advise:
Is a proper way to deal with my needs ? |
Unfortunately I don’t quite understand what is being asked here, and can’t really help. As @VictorBlomberg said, if you return a promise, you should be able to
You wouldn’t. If you I hope this helps. If it doesn’t, I encourage you to ask on StackOverflow because this is a bug tracker rather than a discussion board, so there is much less visibility to questions here. |
Hi all,
I think I take the wrong way to manage this issue so I ask for advise.
Before mounting a component, I would like to fetch data and then make the component visible.
My action creator is simple :
and in my component I just do that :
My issue is that the Pane will be shown before the data gets loaded.
I would like to do something like :
What is the right way to manage this kind of thing ?
Thanks
The text was updated successfully, but these errors were encountered: