Skip to content
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

doesn't rerender on IOS when state changed #17412

Closed
oxy88 opened this issue Jan 2, 2018 · 2 comments
Closed

doesn't rerender on IOS when state changed #17412

oxy88 opened this issue Jan 2, 2018 · 2 comments
Labels
Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@oxy88
Copy link

oxy88 commented Jan 2, 2018

Is this a bug report?

Maybe?
-->

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS High Sierra 10.13.2
Node: 8.9.1
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4408382

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0

Target Platform: iOS (10.3)

Steps to Reproduce

(Write your steps here:)

  1. Change state by clicking a button component

Expected Behavior

Rerender components

(Write what you thought would happen.)

Actual Behavior

Button is disabled and doesn't do anything.
but it is still working
There is no problem with android

https://www.youtube.com/watch?v=PsuzUE4p-Yg
before click
2018-01-02 4 44 32

after click
2018-01-02 4 44 35

Reproducible Demo

https://github.com/oxy88/react-native-ios

@oxy88 oxy88 changed the title [IOS] It doesn't rerender doesn't rerender on IOS Jan 2, 2018
@oxy88
Copy link
Author

oxy88 commented Jan 3, 2018

It works when other components are completely the same.
but It freezes when other components are different

I added react-navigation for rerender and It works.

But I want to handle screens by state not a stacknavigator

It happens again with TabNavigator of react-navigation

I downgraded IOS to 10.3 and it doesn't work

It works If I turn on perfomance monitor of dev menu

I deleted IOS simulator and reinstalled but still doesn't work

@oxy88 oxy88 closed this as completed Jan 3, 2018
@oxy88 oxy88 reopened this Jan 3, 2018
@oxy88 oxy88 changed the title doesn't rerender on IOS doesn't rerender on IOS when state changed Jan 3, 2018
@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon. labels Feb 24, 2018
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants