-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Android componentDidMount repeatedly called and fetch not return any promise #15567
Comments
@pongponglau This is a question better suited to stack overflow. I'd suggest you close this issue, and post there, along with some code examples of you problem |
@Amwam, thank you for your much. In fact, i have one more finding. Fetch can return a promise and componentDidMount is called once after i have just installed the app. However, after i reload (or force kill the app and restart again), fetch would not return any promise and componentDidMount is called repeatedly. Do you have any idea? Thanks |
@pongponglau Without seeing some example code, I am unable to say more. |
I eventually found out what causes these strange issues on Android. It is related to redux-persist. Thank you for your help, |
seems like you figured out the problem. going to close this. regardless, stack overflow is a better place for this imo. |
@facebook-github-bot stack-overflow |
Hey @pongponglau, thanks for posting this! @chirag04 tells me this issue looks like a question that would be best asked on Stack Overflow. Stack Overflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. See "What to Expect from Maintainers". |
Something went wrong executing that command, @mkonicek could you take a look? |
I am using the latest release version of RN 0.47.1. It works perfectly in iOS.
However, there are 2 strange problems with Android (both simulator and real device)
Do you have any ideas?
Thanks a lot
The text was updated successfully, but these errors were encountered: