4 ms·
With webview based applications becoming more and more common, maybe HTML is all we’ll ever need.
by hazz99 5y ago
With webview based applications becoming more and more common, maybe HTML is all we’ll ever need.
- osrec 5y agoNot if you want to adjust your views to different screen sizes and types.
- danjac 5y agoHere you go: https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queri...
- osrec 5y agoIn the wild, media queries are simply not enough. Often you need some JavaScript to really make things workable on smaller screens.
- raihansaputra 5y agoI'm a Front End Dev and work with SPAs for the past 2 years. Working an offline-enabled PWA powered by Svelte and Redux. Honestly, I have a hunch that an HTML-based oriented development can still provide a great (measured) offline experience, without needing to rebuild wholesale to SPA. It's a totally different ballgame if the app is mostly client-side utility anyway (calculators, etc), but the HTML + a bit of JS handling Service Worker and offline presentation should enable a great offline experience. I haven't seen it done in a large scale, but it should work.