problem description
A chat APP,APP we made with RN+redux is launched, and users report that if the number of chats is slightly more, the super card will fail, especially on the Android side.
I used react-navigation, and there was a significant delay in switching pages, but it just felt slow.
Development environment
"react-native": "0.55.4"
"react-navigation": "^ 2.5.1"
"react-redux": "5.0.7"
at first, it was still stuck. My own test found that every time the models of redux updates the state, the render of the root component will be executed again. I think of a way to connect some frequently updated models in the root component, which is much better after optimization, but there is still some delay, and the number of chats is a little more than 10.
is it difficult for APP developed by RN not to stutter? I feel that it is easy to stutter as long as I update state. Most of the time, it needs to be updated frequently. Is there any way not to get stuck? Ask the great god for advice, and you can pay for it.