We have a reactJs application which works fine on all other browsers except safari on macOS and ios. The app works perfectly on Chrome on macOs or windows and ios as well.
Also, once the app freezes, we cannot open dev console in safari and if it is open, most of the things don't work like pausing script execution. And we can say from activity monitor that it goes in some infinite loop as the cpu usage of that page goes to 100% but i am unable to figure out as there are no errors at all and it works on other browsers.
It just freezes on loading and becomes totally unresponsive (No scroll or clicks etc). It looks like there is some infinite loop or dependency issue. The webapp is kind of LMS and has many dependencies but to give you an idea here is the stack -
- GraphQL
- React Router Dom
- React Hooks
- Sentry for Logging
- Socket etc
If you have any questions feel free to ask. Here is the site - https://i3.stage.cudy.co/
Thanks