react-native - 使用第三方模块时 Expo 的严重性能问题
问题描述
我正在尝试将此第三方模块与我的 Expo 应用程序一起使用,但如下所示,我遇到了一些严重的性能问题,控制台中记录了以下错误
Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property `type` on a released/nullified synthetic event. This is set to null. If you must keep the original synthetic event around, use event.persist(). See https://reactjs.org/docs/legacy-event-pooling.html for more information.
我使用的代码与示例中使用的代码完全相同,只是删除了图像和一些文本,以及使用底部选项卡设置了反应导航。
如果我尝试在移动设备上的 Expo Go 应用程序上运行该应用程序,问题也是一样的。
解决方案
推荐阅读
- excel - 如果单元格中的值不等于另一个值,则按索引删除一行
- kubernetes - 在 Kubernetes 中使用具有多个动态命名空间的 Vault
- xamarin.ios - 无法在 Visual Studio for Mac 中将资源文件添加到 xamarin android 项目
- css - 悬停效果在谷歌浏览器中无法正常工作
- javascript - Javascript - 将对象附加到 JSON 文件
- apache-nifi - 在多个shemas上执行单个查询-NiFi
- c - Visual Studio Community 2017 cl 链接器不会链接 GTK3 库?
- react-native - 无法生成签名的 APK 反应原生应用
- java - 一个对象,多个函数调用 - Python & Java
- rest - 如何保护 api rest symfony?