Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我们用RN+redux做的一款聊天APP,APP上线后用户反馈聊天数量稍微多一点就超级卡,甚至卡奔溃,尤其是在安卓端。 我用了react-navigation,切换页面也有明显的延迟,就是感觉慢。 求救。有什么办法让不卡的吗? 付费求优化思路。
最好的优化思路就是,放弃React Native。renderItem改成PureComponent作用很明显,不过还是没有解决根本问题。
想要优化到很流畅,你可以开发几个原生的App了。
可以找我付费咨询
RN 聊天我搞过 建议不要用 redux mobx 更适合一些 粒度更细