React/Redux应用程序在Safari上呈现空白屏幕 [英] React/redux app renders blank screen on Safari

查看:72
本文介绍了React/Redux应用程序在Safari上呈现空白屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在React/redux中构建了一个应用程序,该应用程序可在我尝试过的每种浏览器中使用,但在MacOS上是Safari,而在iPhone上则是任何浏览器.我没有错误,没有控制台消息,没有任何东西可以给我一些想法.它仅在Safari中呈现标记,并且屏幕为空白.

I built an app in React/redux that works in every browser I tried, BUT Safari on MacOS and any browser on iPhone. I get no error, no console message, nothing that would give me some idea. It only renders tag in Safari and the screen is blank.

http://podcast.exploration.io

您是否知道如何跟踪此问题?

Do you have any idea how could I trace this issue?

谢谢

推荐答案

我发现了问题.它失败的主要原因是获取"功能...在Safari中不可用.我不确定为什么不打印任何内容,但我怀疑,因为在try/catch内部调用了提取".

I found the issue. The main reason why it failed was 'fetch' function...which is not available in Safari. I'm not sure why it wouldn't print anything, but I suspect, because 'fetch' was called inside try/catch.

这篇关于React/Redux应用程序在Safari上呈现空白屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆