我的 React 站点在移动浏览器上显示为空白

My react site shows up blank on mobile browsers

我在这里用 netlify 部署了我的 React 站点 https://clusterfy.netlify.app/ I tried it on my computer and it works, but on my phone it doesn’t. So far I’ve tried to change the basename of Browser router to “/React”. added a homepage element in package.json that points to the root of the site. I got rid of %PUBLIC% and replaced it with the link to my site. Here’s the repo for it https://github.com/andrewpaige1/clusterfy-front-end

这似乎适用于 iPhone 和 iOS 13。 请注意,您上面的 Git 回购 link 是私人的或在不同的帐户上。

我能够通过一次推送一个组件来解决这个问题。我最终发现这是 react-sketch 库或 jsdom 的问题。不确定是哪一个,但我不想知道