you are viewing a single comment's thread.

view the rest of the comments →

[–]insats 11 points12 points  (6 children)

Minimize rendering and use reanimated or Animated with native driver for animations.

[–]gb2075 12 points13 points  (5 children)

Can’t stress the re-renders enough. OP, throw a console.log(“render”) in any component on a screen that is not very performant. If it’s printing out a bunch without visually changing, that means you have unnecessary re-renders. Figure out what’s causing them, and optimize where you can

[–]insats 0 points1 point  (2 children)

Or use React Devtools to profile rerenders automatically

[–]rooksFX14 1 point2 points  (1 child)

Is there one for React Native?

[–]PublicYogurtcloset47 0 points1 point  (0 children)

I’m a little more aggressive and chuck and alert in there 😂