我有完全正常工作的 react-native android 应用 Groww .致力于性能优化。
我正在使用 Redux-saga 和 axios 进行异步网络调用,在网络调用期间,可触摸的不透明度不起作用,一切正常,但可点击事件没有响应。
我已经使用 Flatlist 、 shouldComponentUpdate 等优化了我的应用程序。但在这个问题上,我遇到了任何帮助,我们将不胜感激。
最佳答案
您可以在android/app/build.gradle 中启用Hermes。也许这可以帮助你。
project.ext.react = [
entryFile : "index.js",
enableHermes: true, // clean and rebuild if changing
]
关于android - 异步调用期间的 TouchableOpacity block #Performance React-native,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48679429/