ReactJS: How to determine if the application is being viewed on mobile or desktop browser : <p>In ReactJS, is there a way to determine if the website is being viewed on mobile or desktop? Because, depending on which device I would like to render different things.</p>

<p>Thank you</p>
