Answer the question
In order to leave comments, you need to log in
Site on React JS vs. Apple products?
Hello. There is a site on React + Redux. The styled-components library is responsible for the styles, axios is responsible for the communication between the application and the third-party server. There is a Main component that displays the menu for today. Everything is classic, in componentDidMount I call a pure function that makes a request to the server, the answer comes, I pack it in state, then work with it. Everything is ok, because everything works .... on all devices except the apple. Absolutely on all devices. Entering from the apple of the Main component does not render anything, there are no errors. Initially, Safari and Chrome on the ipad complained about what I used to work with the response from the server, the Object.values method. I solved this problem cardinally, put underscore and rewrote all methods to _.map, etc. They stopped cursing, but the component does not render anything. I will not post the code, because there is a lot of him andworking . Does not work only on apple devices.
Any thoughts on this issue, comrades?
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
I have never experienced such problems, applications on react normally work in iPhones. Of course, there are enough other "nuances" that piss me off.
I recommend connecting the iPhone to the computer with a cord and go in debug mode (scatter consoles, debugs, which is tastier) with the developer panel in the browser.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question