Answer the question
In order to leave comments, you need to log in
Why can't I render a component in the DOM from a mobile browser?
The site loads normally and displays all elements from the computer, but no new components are added to #root from the phone.
The component structure is as follows:
<Header />
<MainContent />
<Child 1 />
<Child 2 />
...
<Footer>
ReactDOM.render(
<div>
<Header />
<CommonParentComponent />
<Footer />
</div>,
document.getElementById('root')
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question