reactjs - 一些用户在进行 React 部署时会遇到白屏,但苹果用户不会
问题描述
任何人都知道为什么有些用户,特别是那些使用微软产品的用户,在我的 React 部署中看到白屏?我的部署在我的设备、移动设备和标准设备上运行良好并且渲染良好。我在 package.json 中指定了主页 URL ..
遇到白屏的错误代码如下
at Module.<anonymous>(index.js:13)
at l ((index):1)
at Object.(anonymous>(main.2a705d2.chunk.js:1)
at l ((index):1)
2:22
at t ((index):1)
at Array.r[as push]((index:1)
at main.2a705d2.chunk.js:1```
MY GITHUB REPO:
https://github.com/dreamingofcode/Travelly
deployment:
https://nervous-lovelace-0d5b8e.netlify.app/
解决方案
它指向您的错误,index.js:13
任何没有安装 redux devtools 的人都会失败。这不是添加开发工具的正确方法。https://github.com/zalmoxisus/redux-devtools-extension
推荐阅读
- mysql - 在 ubuntu 18.04 gpg 上安装 mariadb 10.3 添加密钥错误 gpg: keyserver receive failed: Server 指示失败
- google-cloud-firestore - Firestore 安全规则:根据时间戳值添加数据
- python - django runserver 在 docker-compose up 中挂起,但在 docker-compose run 中正确运行
- python - scapy - fields_desc - 添加字段作为偏移量
- php - 动态生成的 if 语句 eval
- node.js - google-api-nodejs-client 未获取详细信息
- oauth-2.0 - OAuth 授权类型 JWT 承载流
- php - .htaccess 中的 URL 重定向
- android - WhatsApp 如何使用 edittext UI 设计发送图像预览
- c# - 如何从 sql server 数据库中将 1 条记录读入 ac# 文本框?