question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React native runs faster when Remote debugging

See original GitHub issue

When I enable remote-debugging my animations run faster and my app is overall much more responsive than when I have it disabled.

Version: 0.28 OS: Android

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DanielMSchmidtcommented, Jun 23, 2016

You can disable the remote debugging option and the code should run on the device.

0reactions
fab1ancommented, Jun 23, 2016

How?

I tried

 mReactInstanceManager = ReactInstanceManager.builder()
            .setApplication(application)
            .setBundleAssetName("index.android.bundle?dev=false")
            .setJSMainModuleName("js/index.android?dev=false")
            .addPackage(MainReactPackage())
            .addPackage(MyReactPackage())
            .setUseDeveloperSupport(BuildConfig.DEBUG)
            .setInitialLifecycleState(LifecycleState.RESUMED)
            .build()
Read more comments on GitHub >

github_iconTop Results From Across the Web

React-Native app is more faster on remote debugging #48
It actually runs on Chrome running on your development machine (laptop or deskop). Your dev machine is likely many faster than a phone....
Read more >
expo why is my app faster if I enable remote debug?
in expo I enable Remote Debugging. I was excited because my app was faster xd. But Why is it faster if I run...
Read more >
React Native Debugger: Tips for fast debugging
React Native Debugger comes with features that can boost your development and debugging speed. Here's how to use it.
Read more >
Debugging
Fast Refresh is a React Native feature that allows you to get near-instant feedback for changes in your React components. While debugging ......
Read more >
Debugging React Native with react-native-debugger
We will be developing, running, and debugging our apps with expo-cli, one of the simplest and fastest ways to construct a React Native...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found