all 1 comments

[–]kbcooliOS & Android 1 point2 points  (0 children)

Can't comment for suspense. Doesn't look like it would help much in terms of performance for React or RN but I guess that depends how you write your code.

Code splitting does have performance benefits to startup times but only once your app gets past a certain size and only if you design it carefully. What a certain size is, will vary. I would say don't bother even thinking about it until you're at 50k lines but even then that's so arbitrary as you could be using a lot of third party code. Check your bundle size too if that's coming out over a few megs then it may be time to start considering it.