pkg-size.dev
pkg-size.dev copied to clipboard
iOS mobile view
in iOS on mobile elements overlap - for example the percentage:
It's designed primarily as a desktop app, and I was thinking I wouldn't mind adding mobile support later... But these days I'm debating whether to block mobile entirely or add a warning.
I'm thinking most people would decide not to do a npm install
on their mobile browser if they knew it could potentially download +50MBs of packages (especially if over data).
There's also a memory usage concern:
- Android: beta support for Chrome, Chromium-based browsers and Firefox. Depending on your device, large projects may run into memory limitations.
- iOS and iPadOS: beta support for Safari since iOS 16.4. Large projects may run into memory limitations because the memory usage for a web page on a mobile device is more constrained. In this case, we recommend switching to a Desktop browser that is less constrained and has more memory.
https://developer.stackblitz.com/platform/webcontainers/browser-support#mobile-browsers
Although mobile view does not make sense for the user base, but it's harmless to show a pop up that signifies Best experience in landscape mode
Yes, I plan on adding a warning modal soon.