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.

App Performance is very laggy after upgrade 0.64 to 0.68.1

See original GitHub issue

New Version

0.68.1

Old Version

0.64.0

Build Target(s)

iOS and Android (both device and simulator)

Output of react-native info

(node:74371) Warning: Accessing non-existent property ‘padLevels’ of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) System: OS: macOS 12.0.1 CPU: (12) x64 Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 505.84 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.2 - /usr/local/bin/node Yarn: 1.22.4 - ~/.yarn/bin/yarn npm: 8.5.0 - /usr/local/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0 Android SDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7784292 Xcode: 13.1/13A1030d - /usr/bin/xcodebuild Languages: Java: 15.0.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.1 => 0.68.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Issue and Reproduction Steps

I am trying to update app 0.64.0 to 0.68.1. App running successfully for both iOS and android but after that I got following issues.

  1. Scrolling some what slow and laggy.
  2. When I click any touchable opacity, button action trigger after 1 or 2 sec until it is just showing highlight on button.
  3. Flat list render item with touchable opacity button are also behave same like point 2.
  4. All kind of UI some what laggy compare with existing version.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
abduliOScommented, Jun 24, 2022

Actually now the problem is gone for me. I just do upgrade the packages related to navigation and some old libraries used in the app. After upgrade pls clear all cache in react native, iOS and android, then run.

0reactions
cjhinescommented, Jul 5, 2022

some old libraries

This is a bit vague. Could you please share a package.json diff so other people could try what solved it for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my device running slow after a software update?
The processes running in the background are using the processor a lot, causing the device to be temporarily perceived as slow for a...
Read more >
Upgrading to new versions - React Native
I want to upgrade with React Native CLI but I don't use Git​ · I have done all the changes but my app...
Read more >
What's New in React Native 0.69 — How to Upgrade and Why ...
The new architecture describes a set of major, ongoing architectural changes in React Native that enhance performance, flexibility, memory usage ...
Read more >
React Native Performance: Do and Don't - Crowdbotics
React Native is a cross-platform JavaScript library that creates high-performance apps by default. Here's how you can optimize React Native ...
Read more >
How to Fix Slow Performance Issue After Update On Windows ...
If your windows 10 slow after update or windows 11 slow performance fix after update. Fix if windows 10 slow boot after update...
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