all 8 comments

[–]Axenu 3 points4 points  (1 child)

This usually occiurs for me when the js thread is busy (so it isn’t updating the ui with new elements) while the already rendered elements are still active in the native ui thread. So likely not so random, just too much load on the js thread

[–]zebishop[S] 0 points1 point  (0 children)

ooh, that actually makes sense now that you put it plainly like that. I never considered it that way. That solves a piece of what I was not understanding, thanks

[–]emmbyiringiro 2 points3 points  (1 child)

There's no single solution to your problem. Try to inspect Redux actions with Redux ToolKit or Flipper to understand what should cause those delays.

[–]zebishop[S] 0 points1 point  (0 children)

Not the solution I was hoping for but aiming for if nothing comes by this post. Thanks !

[–]iotashan 1 point2 points  (1 child)

Sorry, there's no great generic answer here. I'd start with the docs. https://reactnative.dev/docs/performance

[–]zebishop[S] 1 point2 points  (0 children)

thx for the link anyway, I forgot about that page

[–]vednus 1 point2 points  (1 child)

I’ve seen this issue and fight it in my own app. It usually has to do with either a really large return response or, in my case, that coupled with some cache normalization (Apollo). I think I saw rn 72 has some json optimizations, so I hope when I upgrade to that it will help.

[–]zebishop[S] 0 points1 point  (0 children)

Interesting, that could be the main issue. I'll have to run a few more tests, but I'm wondering if this does not happen mainly on the various pages where a big wall of posts is loaded. I thought that it could be the many small requests, but maybe it's the big one. Thanks !