How can I use Angular 7, TypeScript, bootstrap, ngx-bootstrap, etc., to switch between components based on the user's device (desktop vs mobile)?
I have noticed that many websites display different components when resized. I wonder if these are simply responsive components styled with elaborate CSS, or if they are truly distinct components.
For example, YouTube's desktop version compared to its non-native mobile experience.