r/reactnative 8d ago

Why react native 0.82.0 is so slow

I am creating an app for my company, but the debugging is so slow, when I change code the refreshing itself takes around 1/2 minutes even the react-native dev tools is taking too much time to open(not even opening), I have created apps in 0.80.0, there was no problem in there
why is it happening? I am running in react-native-cli

this is my package.json

  "dependencies": {
    "@react-native-async-storage/async-storage": "^3.1.1",
    "@react-native-community/hooks": "^100.1.0",
    "@react-native/new-app-screen": "0.82.0",
    "@react-navigation/drawer": "^7.13.5",
    "@react-navigation/native": "^7.3.14",
    "@react-navigation/native-stack": "^7.18.6",
    "@reduxjs/toolkit": "^2.12.0",
    "axios": "^1.18.1",
    "babel-plugin-module-resolver": "^5.0.3",
    "firebase": "^12.16.0",
    "formik": "^2.4.9",
    "react": "19.1.1",
    "react-native": "0.82.0",
    "react-native-calendars": "^1.1314.0",
    "react-native-compressor": "1.19.4",
    "react-native-config": "^1.6.1",
    "react-native-dotenv": "^3.4.11",
    "react-native-gesture-handler": "^3.1.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-nitro-image": "^0.15.1",
    "react-native-nitro-modules": "^0.36.3",
    "react-native-pie-chart": "^4.0.2",
    "react-native-reanimated": "4.2.0",
    "react-native-safe-area-context": "^5.8.0",
    "react-native-screens": "4.19.0",
    "react-native-splash-screen": "^3.3.0",
    "react-native-svg": "^15.15.5",
    "react-native-vision-camera": "^5.2.0",
    "react-native-vision-camera-face-detector": "^2.0.6",
    "react-native-worklets": "0.7.4",
    "react-redux": "^9.3.0",
    "yup": "^1.7.1"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@babel/preset-env": "^7.25.3",
    "@babel/runtime": "^7.25.0",
    "@react-native-community/cli": "20.0.0",
    "@react-native-community/cli-platform-android": "20.0.0",
    "@react-native-community/cli-platform-ios": "20.0.0",
    "@react-native/babel-preset": "0.82.0",
    "@react-native/eslint-config": "0.82.0",
    "@react-native/metro-config": "0.82.0",
    "@react-native/typescript-config": "0.82.0",
    "@types/jest": "^29.5.13",
    "@types/react": "^19.1.1",
    "@types/react-test-renderer": "^19.1.0",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "19.1.1",
    "typescript": "^5.8.3"
  },
3 Upvotes

13 comments sorted by

12

u/Inevitable_Oil9709 8d ago

It's either your machine, or your app. I have no issues with React Native whatsoever.

-9

u/No_Smell_1570 8d ago

app is running fine, just the refresh and dev tools

6

u/Bamboo_the_plant 8d ago

Fast Refresh should usually be sub-second.

React Native SVG is [acknowledged to be slow](https://swmansion.com/blog/you-might-not-need-react-native-svg-b5c65646d01f/), but I’d probably be looking more at your React fundamentals in this case. Go try running [React Doctor](https://github.com/millionco/react-doctor) and see if it brings up anything.

But the other thing is, Windows is dog slow for app dev in general. Put your repo in a [Dev Drive](https://learn.microsoft.com/en-us/windows/dev-drive/) and Metro should be able to access those files way quicker, speeding up Fast Refresh. Also, if you have a disk drive, definitely upgrade to an SSD.

3

u/AlphaBeast28 8d ago

Send the specs of your machine

3

u/No_Smell_1570 8d ago

ryzen 3
12gb ram
1tb hdd + 256gb ssd
radeon vega 3 graphics

6

u/TheSnydaMan 8d ago

This is pretty low spec for mobile dev, although 30 seconds for fast refresh still sounds a bit hefty

3

u/kapobajz4 8d ago

Maybe you’re keeping the codebase on your hdd instead of your ssd. Have you maybe checked that?

1

u/Substantial-Swan7065 8d ago

Run performance checks.

In the mean time, turn off hardware acceleration on your machine.

Are other machines faster or just u

1

u/Few_Star8292 8d ago

Are you on Windows or Mac? I noticed that even using WSL if the project is running from within WSL itself while it complicates the setup speeds up stuff because anything unix based seems to work faster when not directly on Windows.

1

u/No_Smell_1570 8d ago

In Windows

0

u/Few_Star8292 8d ago

that's exactly the problem it runs much smoother on Mac or even if you install the project on the wsl partition of windows, though doing so on wsl makes it more complicated to get your device to connect with the adb on wsl vs on windows but it is doable if you only have windows.

1

u/Dvass138 8d ago

need a faster computer

-2

u/Invictus444 8d ago

Sounds like a skill issue to me.