
RNR 218 - Performance Enhancing Drugs for your React Native app with Mark Rickert Part 2
React Native Radio
00:00
Use Effects - How to Prevent a Memory Leak
The goal here with what you're talking about is to get as few things to re render per render cycle as possible. And i think that dovetails well into talking about the state management side of things. One thing i like to also watch for is when you have maybe a complex screen or component or something that is a is doing a lot, should really be kind of ecapsilated in its own component. Even if it feels a little awkward to do that. It's just sort of like isolating the pieces that are changing a lot and telling them, hey, you can re render a lot. The parents just gang toccount. Yes.
Transcript
Play full episode