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

Why is it so slow? #55

Closed
collinglass opened this issue Feb 1, 2017 · 4 comments
Closed

Why is it so slow? #55

collinglass opened this issue Feb 1, 2017 · 4 comments
Labels

Comments

@collinglass
Copy link

I loaded it on my iOS simulator and it takes multiple seconds to switch screens?

@mcnamee
Copy link
Owner

mcnamee commented Feb 1, 2017

Please see issue #44

@markmssd
Copy link

markmssd commented Feb 4, 2017

Having the same problem... deployed it to my iPhone 7 Plus and it's also slow. Any suggestions?

@markmssd
Copy link

markmssd commented Feb 5, 2017

Tried with react-native run-ios --configuration Release and it's solves it for me!

@mcnamee
Copy link
Owner

mcnamee commented Feb 6, 2017

Thanks @markmssd
Just repeating the notes from issue #44 and summarising:

When you're in Debug mode, you need to have the Debugger (Chrome Dev Tools) open as it logs info to the console (the debugger should be in a focused tab).

When you're wanting to Release/test on an actual device, you need to switch to React Native's Release configuration by either:

  • In Xcode - set the Build Configuration (CMD+SHIFT+,) to release
  • As @markmssd suggested - add the --configuration Release flag to your react-native command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants