When to use useMemo?

Basically the decision for whether to use useMemo is: Do I want this to run every single time the state changes? => Leave it plainIs it bad if this runs multiple times? => Yes useMemoIs this slow so it should only run when absolutely necessary => Yes useMemo

React Native Resources

I am compiling a list of great and updated resources that any react native dev should follow. I have tried to keep the list short because many of the great resources are outdated now. Also trying to keep it concise so it is more useful. I will try to update this list from time to time. If you are a beginner and want to learn by doing This code-academy course is great for that. 1. https://www.codecademy.com/learn/learn-react-native 2. https://www.reactnative.express/ Blogs to follow - notJustDev BlogMy Blog If you want to read - Infinite Red's NewsletterFollow Aman Mittal's BlogCallstack engineer's blogReact native…