title: How to make device detection with SSR in Svelte/Sapper?
body: <p>I need to detect user device (browser, os, etc.) and show different navigation according to the device type (mobile or desktop). It should work during SSR in Sapper/Svelte.</p>
  
  <p>Any help with it is very appreciated!</p>