I need to render views based on device in react {not native react} because to improve performance.
The design requirement is something that I cannot use same markup for all device like [desktop, tablet and mobile] and I need to separate desktop view and Tablet/Mobile view.
Having said that I want to boost performance and I don't want to render all the markup for both views. I need to render only that particular HTML markup which is required to that particular device.
Apart from Media queries do we have any way to render markup based on device.
Please note I would need this for react not native react