Testing device orientation (gyroscope) on localhost using Vite
I'm making a tilt component atm and wanted to make it respond to gyroscope (device orientation) changes. there were some caveats with testing it locally so I decided to write this post to explain it.
##1. Device Orientation Event
To detect device ori...
rashidshamloo.hashnode.dev3 min read