Hacker News new | ask | show | jobs
by SeanLockItUp 2946 days ago
I'm building my first app in React Native right now - I have a native Android background though.

Can you shed some light on what some of the performance and stability issues you faced are? What can I expect and how did you deal with them or work around them?

Nice app btw!

1 comments

Sure- a couple of (oddly specific) details:

1. Long lists (>100 items) don't perform well if you have to reorder them. Initial render is a bit slow but not that noticeable but if you have to reorder or add/remove from them on the fly it can be resource intensive.

2. Animation behavior varies between Android and iOS depending on what you're animating.

3. Re-rendering is expensive so you need to be careful when you update your state if you're using redux.

4. Easily fixable but console logging is expensive so be sure to remove all JS logs from production.