Nov 25, 2023
Hi, Abhimahajan. From my research and humble knowledge, there are libraries which can be used in a client-side component to find out details about the devices, such as react-device-detect, and mobile-detect.js. I haven't tried them myself, honestly, but from my understanding to device detection works, they most probably are using the HTTP headers through some API. Feel free to share your discoveries in this matter. 🙂